Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 109.6 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 189.7 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 62.69 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1588, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002823/0.1616, allocations: 1.257 MB / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1628, allocations: 0.619 MB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.1629, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.1629, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.163, allocations: 11.92 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.1638, allocations: 145.4 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.1639, allocations: 19.92 kB / 0.6623 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1639, allocations: 4 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.164, allocations: 11.92 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.164, allocations: 7.984 kB / 0.6624 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.164, allocations: 4 kB / 0.6624 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.1646, allocations: 339.3 kB / 0.6627 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.1646, allocations: 7.984 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.1647, allocations: 11.94 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.165, allocations: 147.6 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.165, allocations: 0 / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.165, allocations: 0 / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.165, allocations: 0 / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004662/0.1655, allocations: 355.5 kB / 0.6632 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1655, allocations: 8.031 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1656, allocations: 12.84 kB / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1657, allocations: 164.4 kB / 0.6634 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1657, allocations: 4.375 kB / 0.6634 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1658, allocations: 4.375 kB / 0.6634 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1659, allocations: 41.62 kB / 0.6634 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1659, allocations: 0 / 0.6634 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1659, allocations: 4 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1659, allocations: 3.938 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.166, allocations: 7.938 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1662, allocations: 165.7 kB / 0.6636 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1664, allocations: 46.59 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.1664, allocations: 20.94 kB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1664, allocations: 3.938 kB / 0.6636 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1665, allocations: 38.5 kB / 0.6637 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1665, allocations: 0 / 0.6637 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006843/0.1672, allocations: 310.2 kB / 0.664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1672, allocations: 55.41 kB / 0.664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.1673, allocations: 101.8 kB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1673, allocations: 25.7 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.1674, allocations: 80.14 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1674, allocations: 19.72 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1674, allocations: 21.7 kB / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1676, allocations: 310.8 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.1676, allocations: 12 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1676, allocations: 19.98 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.1677, allocations: 29.02 kB / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1677, allocations: 0 / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001067/0.1678, allocations: 81.44 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1678, allocations: 8 kB / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1678, allocations: 0 / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1679, allocations: 0 / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.1679, allocations: 11.98 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1679, allocations: 4 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.1679, allocations: 0 / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.168, allocations: 4 kB / 0.6647 GB, free: 5.5 MB / 0.4981 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.168, allocations: 118.7 kB / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1681, allocations: 0 / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1682, allocations: 73.53 kB / 0.6649 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1682, allocations: 7.984 kB / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1682, allocations: 0 / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1682, allocations: 0 / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.1686, allocations: 319.4 kB / 0.6652 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1686, allocations: 0 / 0.6652 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.1687, allocations: 15.94 kB / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1687, allocations: 0 / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1687, allocations: 0 / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1687, allocations: 4.172 kB / 0.6652 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1687, allocations: 8 kB / 0.6653 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1689, allocations: 184.2 kB / 0.6654 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.169, allocations: 85.12 kB / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.169, allocations: 0 / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.169, allocations: 4 kB / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1691, allocations: 4.516 kB / 0.6655 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1691, allocations: 0 / 0.6655 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.1691, allocations: 87.2 kB / 0.6656 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1691, allocations: 3.938 kB / 0.6656 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002515/0.1694, allocations: 24 kB / 0.6656 GB, free: 4.457 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.1696, allocations: 119.3 kB / 0.6657 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1697, allocations: 35.92 kB / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1697, allocations: 0 / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.1698, allocations: 16 kB / 0.6658 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.17, allocations: 4.125 kB / 0.6658 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1705, allocations: 225.6 kB / 0.666 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1707, allocations: 0.6807 MB / 0.6667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1708, allocations: 11.44 kB / 0.6667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1708, allocations: 0 / 0.6667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.00238/0.1732, allocations: 0.8113 MB / 0.6675 GB, free: 2.5 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)