Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 289.9 MB / 297.4 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 176.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 92.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.552e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.58, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.7611, allocations: 139.1 MB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.7614, allocations: 79.94 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.774, allocations: 4.482 MB / 1.114 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/0.774, allocations: 0 / 1.114 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.774, allocations: 1.781 kB / 1.114 GB, free: 6.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003021/0.7743, allocations: 343.5 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7744, allocations: 8.656 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.7744, allocations: 8.75 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7746, allocations: 171 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.7746, allocations: 4.594 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.7746, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.868e-05/0.7747, allocations: 17.31 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.7748, allocations: 49.61 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7748, allocations: 4 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7748, allocations: 1.469 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.7748, allocations: 0 / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.775, allocations: 142.2 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.7751, allocations: 51.41 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.7751, allocations: 26.95 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.7752, allocations: 4 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.7752, allocations: 36.81 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7752, allocations: 1.281 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007516/0.7759, allocations: 0.5156 MB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.776, allocations: 51.41 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.776, allocations: 93 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7761, allocations: 26.3 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.7761, allocations: 82.05 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.7762, allocations: 43.3 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.7762, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.7763, allocations: 314.8 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.7763, allocations: 16.12 kB / 1.116 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.7763, allocations: 31.92 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.7764, allocations: 19.95 kB / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7764, allocations: 3.938 kB / 1.116 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001154/0.7765, allocations: 91.42 kB / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7765, allocations: 4 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7765, allocations: 3.984 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7766, allocations: 0 / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.7767, allocations: 20 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7767, allocations: 0 / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.7767, allocations: 3.984 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.7767, allocations: 12 kB / 1.116 GB, free: 4.121 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 () * 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 6.312e-05/0.7768, allocations: 108.9 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.7768, allocations: 9.969 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.777, allocations: 82.08 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.777, allocations: 4 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.777, allocations: 0 / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.777, allocations: 3.984 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.7773, allocations: 327 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7773, allocations: 0 / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.7775, allocations: 23.98 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7775, allocations: 0 / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.7775, allocations: 0 / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7775, allocations: 1.312 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7775, allocations: 4 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.7777, allocations: 212.6 kB / 1.116 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.7777, allocations: 85.2 kB / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.7778, allocations: 0 / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.7778, allocations: 0 / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.7779, allocations: 11.98 kB / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7779, allocations: 4 kB / 1.117 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.7779, allocations: 75.28 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7779, allocations: 0 / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002531/0.7782, allocations: 43.92 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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.0001988/0.7784, allocations: 143.2 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.7785, allocations: 59.86 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7785, allocations: 0 / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.7786, allocations: 24 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.7787, allocations: 15.89 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.7791, allocations: 222.6 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.7793, allocations: 0.6885 MB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.7794, allocations: 5.125 kB / 1.118 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.7794, allocations: 15.44 kB / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7794, allocations: 4 kB / 1.118 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.003003/0.7824, allocations: 0.8405 MB / 1.119 GB, free: 1.035 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)