Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001119, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4735/0.4735, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.3 MB / 348.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009607, allocations: 103.9 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4058, allocations: 71.02 MB / 0.5595 GB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.54, allocations: 101.1 MB / 0.6582 GB, free: 8.402 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.5403, allocations: 79.95 kB / 0.6583 GB, free: 8.324 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.5534, allocations: 4.563 MB / 0.6627 GB, free: 3.762 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5534, allocations: 0 / 0.6627 GB, free: 3.762 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5535, allocations: 0 / 0.6627 GB, free: 3.762 MB / 474.7 MB 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.0003653/0.5538, allocations: 355.5 kB / 0.6631 GB, free: 3.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5539, allocations: 8.031 kB / 0.6631 GB, free: 3.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.5539, allocations: 4.844 kB / 0.6631 GB, free: 3.352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.554, allocations: 172.3 kB / 0.6632 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.5541, allocations: 4.375 kB / 0.6632 GB, free: 3.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5541, allocations: 4.375 kB / 0.6632 GB, free: 3.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.5542, allocations: 50.23 kB / 0.6633 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5542, allocations: 4.172 kB / 0.6633 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5543, allocations: 7.938 kB / 0.6633 GB, free: 3.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5543, allocations: 4 kB / 0.6633 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.5543, allocations: 19.98 kB / 0.6633 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.5545, allocations: 169.6 kB / 0.6635 GB, free: 2.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5546, allocations: 58.5 kB / 0.6635 GB, free: 2.766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.5547, allocations: 28.84 kB / 0.6636 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.5547, allocations: 4 kB / 0.6636 GB, free: 2.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5547, allocations: 34.56 kB / 0.6636 GB, free: 2.688 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5548, allocations: 0 / 0.6636 GB, free: 2.688 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001142/0.5559, allocations: 0.5878 MB / 0.6642 GB, free: 2.008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.556, allocations: 55.34 kB / 0.6642 GB, free: 1.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.556, allocations: 97.86 kB / 0.6643 GB, free: 1.836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5561, allocations: 29.7 kB / 0.6643 GB, free: 1.801 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.5561, allocations: 80.14 kB / 0.6644 GB, free: 1.719 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.5562, allocations: 39.45 kB / 0.6645 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.5562, allocations: 4 kB / 0.6645 GB, free: 1.676 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5563, allocations: 314.8 kB / 0.6648 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.5564, allocations: 23.94 kB / 0.6648 GB, free: 1.336 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.5564, allocations: 20.08 kB / 0.6648 GB, free: 1.316 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5565, allocations: 67.28 kB / 0.6649 GB, free: 1.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5566, allocations: 0 / 0.6649 GB, free: 1.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001414/0.5567, allocations: 93.62 kB / 0.665 GB, free: 1.152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5567, allocations: 8 kB / 0.665 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5567, allocations: 0 / 0.665 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5568, allocations: 0 / 0.665 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5569, allocations: 23.92 kB / 0.665 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.5569, allocations: 4 kB / 0.665 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.5569, allocations: 0 / 0.665 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.5569, allocations: 4 kB / 0.665 GB, free: 1.113 MB / 474.7 MB 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 9.865e-05/0.557, allocations: 113.8 kB / 0.6651 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.5571, allocations: 15.84 kB / 0.6651 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.5573, allocations: 109.5 kB / 0.6652 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5573, allocations: 4 kB / 0.6652 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5573, allocations: 0 / 0.6652 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5573, allocations: 0 / 0.6652 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.5578, allocations: 346.5 kB / 0.6656 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5578, allocations: 0 / 0.6656 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5579, allocations: 35.92 kB / 0.6656 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5579, allocations: 0 / 0.6656 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5579, allocations: 0 / 0.6656 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5579, allocations: 3.938 kB / 0.6656 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5579, allocations: 0 / 0.6656 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.5582, allocations: 219.4 kB / 0.6658 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.5583, allocations: 85.08 kB / 0.6659 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.5583, allocations: 4.031 kB / 0.6659 GB, free: 80 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.5584, allocations: 8.062 kB / 0.6659 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.5584, allocations: 4 kB / 0.6659 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5584, allocations: 7.984 kB / 0.6659 GB, free: 60 kB / 474.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/0.5585, allocations: 75.28 kB / 0.666 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5585, allocations: 0 / 0.666 GB, free: 15.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.5588, allocations: 43.94 kB / 0.666 GB, free: 15.94 MB / 490.7 MB 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 () * 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.0002788/0.5591, allocations: 151 kB / 0.6662 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.5592, allocations: 64.75 kB / 0.6662 GB, free: 15.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5593, allocations: 0 / 0.6662 GB, free: 15.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.5593, allocations: 35.94 kB / 0.6663 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5596, allocations: 4 kB / 0.6663 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.5602, allocations: 340.3 kB / 0.6666 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.5606, allocations: 0.6848 MB / 0.6673 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.5606, allocations: 11.97 kB / 0.6673 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.5607, allocations: 15.44 kB / 0.6673 GB, free: 14.59 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5607, allocations: 3.938 kB / 0.6673 GB, free: 14.58 MB / 490.7 MB Notification: Performance of Templates: time 0.003382/0.5641, allocations: 0.9097 MB / 0.6682 GB, free: 13.71 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)