Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001393/0.001393, allocations: 110 kB / 16.41 MB, free: 6.473 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.001318/0.001318, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8584/0.8584, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.19 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002374/0.1625, allocations: 1.237 MB / 0.6666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1636, allocations: 0.6035 MB / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1636, allocations: 0 / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.1636, allocations: 3.938 kB / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.1637, allocations: 0 / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1642, allocations: 139.4 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.1643, allocations: 7.938 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1643, allocations: 8 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.1643, allocations: 3.984 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.1644, allocations: 11.98 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1644, allocations: 0 / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.1649, allocations: 343.3 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.1649, allocations: 0 / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.165, allocations: 4 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.1652, allocations: 143.6 kB / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1652, allocations: 0 / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1652, allocations: 3.938 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1652, allocations: 4 kB / 0.6678 GB, free: 3.227 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.0004568/0.1657, allocations: 347.1 kB / 0.6681 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1657, allocations: 9.109 kB / 0.6681 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1658, allocations: 8.938 kB / 0.6681 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1659, allocations: 172.3 kB / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1659, allocations: 384 / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1659, allocations: 384 / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.166, allocations: 33.64 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1661, allocations: 4 kB / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1661, allocations: 0 / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1661, allocations: 0 / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.1661, allocations: 4 kB / 0.6683 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1663, allocations: 153.7 kB / 0.6685 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.1663, allocations: 26.55 kB / 0.6685 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.1664, allocations: 8.922 kB / 0.6685 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1664, allocations: 3.938 kB / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1664, allocations: 38.55 kB / 0.6686 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1664, allocations: 0 / 0.6686 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.1666, allocations: 45.58 kB / 0.6686 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1666, allocations: 55.41 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.1667, allocations: 89.86 kB / 0.6687 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1667, allocations: 29.69 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.1668, allocations: 84.33 kB / 0.6689 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1668, allocations: 15.95 kB / 0.6689 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1668, allocations: 9.719 kB / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.167, allocations: 314.8 kB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.167, allocations: 0 / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.167, allocations: 4 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.167, allocations: 12.86 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.167, allocations: 3.984 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.121e-05/0.1671, allocations: 49.64 kB / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1671, allocations: 4 kB / 0.6693 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1671, allocations: 0 / 0.6693 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1671, allocations: 4 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1673, allocations: 11.98 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/0.1677, allocations: 0.5782 MB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.1678, allocations: 0 / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1678, allocations: 4.125 kB / 0.6698 GB, free: 0.8867 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 8.72e-05/0.1679, allocations: 109.8 kB / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.1679, allocations: 7.984 kB / 0.6699 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.168, allocations: 48.75 kB / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.168, allocations: 0 / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.168, allocations: 0 / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.168, allocations: 0 / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.1681, allocations: 157.6 kB / 0.6701 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1681, allocations: 4.031 kB / 0.6701 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.1682, allocations: 15.97 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1682, allocations: 0 / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1682, allocations: 0 / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/0.1686, allocations: 0.5859 MB / 0.6707 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1686, allocations: 0 / 0.6707 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.1687, allocations: 73.25 kB / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.1688, allocations: 85.05 kB / 0.6709 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1688, allocations: 3.938 kB / 0.6709 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.1688, allocations: 0 / 0.6709 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1688, allocations: 0 / 0.6709 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1688, allocations: 4 kB / 0.6709 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.1689, allocations: 79.28 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1689, allocations: 4.062 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001928/0.1691, allocations: 12 kB / 0.671 GB, free: 15.58 MB / 0.5137 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.0001892/0.1692, allocations: 115.1 kB / 0.6711 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1694, allocations: 19.92 kB / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1694, allocations: 0 / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.1695, allocations: 15.98 kB / 0.6711 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.1697, allocations: 4 kB / 0.6711 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.17, allocations: 143.1 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1704, allocations: 0.6729 MB / 0.6719 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.1704, allocations: 7.438 kB / 0.6719 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1704, allocations: 0 / 0.6719 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.00262/0.173, allocations: 0.6985 MB / 0.6726 GB, free: 13.84 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)