Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.737/4.737, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002631/0.002631, allocations: 360.2 kB / 0.6446 GB, free: 21.39 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.271/4.271, allocations: 410.7 MB / 1.113 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 181.9 kB / 1.226 GB, free: 9.477 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 12 kB / 1.349 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 1.461 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8559/1.098, allocations: 139.4 MB / 1.597 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.098, allocations: 87.94 kB / 1.598 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02166/1.12, allocations: 4.254 MB / 1.602 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/1.12, allocations: 0 / 1.602 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.12, allocations: 4 kB / 1.602 GB, free: 7.93 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006443/1.12, allocations: 387.7 kB / 1.602 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.121, allocations: 8.031 kB / 1.602 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/1.121, allocations: 4 kB / 1.602 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.121, allocations: 174.9 kB / 1.602 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/1.121, allocations: 4 kB / 1.602 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/1.121, allocations: 8 kB / 1.602 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/1.121, allocations: 89.64 kB / 1.602 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.121, allocations: 0 / 1.602 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.121, allocations: 7.984 kB / 1.602 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.121, allocations: 0 / 1.602 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/1.122, allocations: 55.91 kB / 1.602 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/1.123, allocations: 336.6 kB / 1.603 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/1.123, allocations: 90.47 kB / 1.603 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/1.123, allocations: 32.84 kB / 1.603 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/1.123, allocations: 0 / 1.603 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.123, allocations: 34.56 kB / 1.603 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.123, allocations: 0 / 1.603 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.00258/1.126, allocations: 0.6744 MB / 1.604 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.126, allocations: 51.5 kB / 1.604 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/1.126, allocations: 109.8 kB / 1.604 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/1.126, allocations: 29.7 kB / 1.604 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/1.126, allocations: 88.05 kB / 1.604 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/1.126, allocations: 39.45 kB / 1.604 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/1.126, allocations: 4 kB / 1.604 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.126, allocations: 314.8 kB / 1.604 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.127, allocations: 35.98 kB / 1.604 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/1.127, allocations: 41.09 kB / 1.604 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.127, allocations: 32 kB / 1.604 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.127, allocations: 3.938 kB / 1.604 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006054/1.128, allocations: 129 kB / 1.604 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.128, allocations: 11.95 kB / 1.604 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.128, allocations: 0 / 1.604 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.128, allocations: 3.938 kB / 1.604 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/1.128, allocations: 27.98 kB / 1.604 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.128, allocations: 0 / 1.604 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.128, allocations: 12 kB / 1.604 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/1.128, allocations: 7.984 kB / 1.604 GB, free: 4.828 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.129, allocations: 121.8 kB / 1.605 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/1.129, allocations: 7.906 kB / 1.605 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1.129, allocations: 133.5 kB / 1.605 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.129, allocations: 0 / 1.605 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.129, allocations: 4 kB / 1.605 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.129, allocations: 3.984 kB / 1.605 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/1.13, allocations: 390.4 kB / 1.605 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.13, allocations: 3.953 kB / 1.605 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/1.131, allocations: 31.98 kB / 1.605 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/1.131, allocations: 3.938 kB / 1.605 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/1.131, allocations: 7.984 kB / 1.605 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.131, allocations: 0 / 1.605 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.131, allocations: 4 kB / 1.605 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/1.132, allocations: 265.2 kB / 1.605 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/1.132, allocations: 92.98 kB / 1.605 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.132, allocations: 0 / 1.605 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.132, allocations: 15.98 kB / 1.605 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/1.132, allocations: 4 kB / 1.605 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.132, allocations: 0 / 1.605 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.777e-05/1.132, allocations: 83.27 kB / 1.606 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/1.132, allocations: 0 / 1.606 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003941/1.132, allocations: 44.06 kB / 1.606 GB, free: 3.535 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/1.133, allocations: 139.2 kB / 1.606 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005833/1.133, allocations: 95.83 kB / 1.606 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.133, allocations: 0 / 1.606 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/1.134, allocations: 55.91 kB / 1.606 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/1.134, allocations: 8.547 kB / 1.606 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.135, allocations: 373.7 kB / 1.606 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/1.135, allocations: 0.6931 MB / 1.607 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001211/1.136, allocations: 20.59 kB / 1.607 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/1.136, allocations: 19.44 kB / 1.607 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.136, allocations: 0 / 1.607 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of Templates: time 0.004989/1.141, allocations: 1.063 MB / 1.608 GB, free: 1.059 MB / 0.7136 GB