Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007466/0.007466, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001625/0.001625, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8043/0.8043, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.08 kB / 0.5813 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002064/0.1621, allocations: 1.234 MB / 0.6609 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000963/0.163, allocations: 0.5982 MB / 0.6615 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.1631, allocations: 0 / 0.6615 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.1631, allocations: 3.984 kB / 0.6615 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.1631, allocations: 3.938 kB / 0.6615 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1636, allocations: 139.4 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.1637, allocations: 11.94 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1638, allocations: 0 / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1638, allocations: 4 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.1638, allocations: 7.938 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1638, allocations: 0 / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.1643, allocations: 339.4 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1643, allocations: 3.938 kB / 0.662 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1644, allocations: 15.92 kB / 0.662 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1646, allocations: 143.7 kB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1646, allocations: 0 / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1646, allocations: 0 / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1646, allocations: 0 / 0.6621 GB, free: 7.785 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004082/0.1651, allocations: 351.5 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1651, allocations: 8.031 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.1651, allocations: 4.938 kB / 0.6625 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1653, allocations: 164.3 kB / 0.6626 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1653, allocations: 4.375 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1653, allocations: 384 / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.1654, allocations: 37.62 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1654, allocations: 0 / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1654, allocations: 0 / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1654, allocations: 0 / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.1654, allocations: 8 kB / 0.6627 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1656, allocations: 149.7 kB / 0.6628 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.1657, allocations: 30.52 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1657, allocations: 8.922 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1657, allocations: 3.938 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1658, allocations: 30.56 kB / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1658, allocations: 0 / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.1659, allocations: 45.59 kB / 0.6629 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.166, allocations: 59.34 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.166, allocations: 101.9 kB / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1661, allocations: 25.7 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1661, allocations: 84.14 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1661, allocations: 3.906 kB / 0.6632 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.1662, allocations: 9.719 kB / 0.6632 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1663, allocations: 322.8 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.1663, allocations: 0 / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.1663, allocations: 4.125 kB / 0.6635 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.1663, allocations: 16.92 kB / 0.6635 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1663, allocations: 0 / 0.6635 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.302e-05/0.1664, allocations: 49.61 kB / 0.6636 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1664, allocations: 4 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1664, allocations: 7.938 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1665, allocations: 0 / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1666, allocations: 8 kB / 0.6636 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/0.167, allocations: 0.5822 MB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.167, allocations: 3.984 kB / 0.6642 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1671, allocations: 3.938 kB / 0.6642 GB, free: 5.438 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.1671, allocations: 118.7 kB / 0.6643 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.1671, allocations: 0 / 0.6643 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1673, allocations: 48.84 kB / 0.6643 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1673, allocations: 4.031 kB / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1673, allocations: 0 / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1673, allocations: 0 / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.1674, allocations: 149.6 kB / 0.6645 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1674, allocations: 0 / 0.6645 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.1675, allocations: 11.98 kB / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1675, allocations: 0 / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1675, allocations: 0 / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002846/0.1678, allocations: 0.5898 MB / 0.665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1678, allocations: 0 / 0.665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.802e-05/0.1679, allocations: 77.09 kB / 0.6651 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.1679, allocations: 77.11 kB / 0.6652 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1679, allocations: 3.938 kB / 0.6652 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.1679, allocations: 0 / 0.6652 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.168, allocations: 8.109 kB / 0.6652 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.168, allocations: 7.938 kB / 0.6652 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.168, allocations: 75.28 kB / 0.6653 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.168, allocations: 0 / 0.6653 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002066/0.1682, allocations: 11.94 kB / 0.6653 GB, free: 4.137 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.1684, allocations: 111.2 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1686, allocations: 23.92 kB / 0.6654 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1686, allocations: 4.156 kB / 0.6654 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.1687, allocations: 15.98 kB / 0.6654 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1688, allocations: 0 / 0.6654 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.1691, allocations: 98.05 kB / 0.6655 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1693, allocations: 0.6768 MB / 0.6662 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.1693, allocations: 3.969 kB / 0.6662 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.1693, allocations: 11.44 kB / 0.6662 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1694, allocations: 4 kB / 0.6662 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.002416/0.1718, allocations: 448.2 kB / 0.6666 GB, free: 2.723 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)