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.001274/0.001274, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9126/0.9126, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 75.12 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1624, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002516/0.1649, allocations: 1.297 MB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.1659, allocations: 0.5895 MB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.1659, allocations: 0 / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.166, allocations: 3.938 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.166, allocations: 15.91 kB / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1665, allocations: 123.3 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.887e-05/0.1666, allocations: 11.94 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.1666, allocations: 0 / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.1667, allocations: 7.984 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1667, allocations: 4 kB / 0.5865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1667, allocations: 0 / 0.5865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.1672, allocations: 347.3 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1672, allocations: 0 / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1672, allocations: 7.938 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1675, allocations: 144 kB / 0.587 GB, free: 1.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1675, allocations: 4 kB / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1675, allocations: 0 / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1675, allocations: 0 / 0.587 GB, free: 1.762 MB / 494.1 MB 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.0004106/0.1679, allocations: 355.3 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.168, allocations: 12.02 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.168, allocations: 0.9375 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1681, allocations: 168.4 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1682, allocations: 384 / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1682, allocations: 8.312 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.1683, allocations: 33.83 kB / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1683, allocations: 0 / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1683, allocations: 0 / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1683, allocations: 0 / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.1683, allocations: 7.984 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.1685, allocations: 145.7 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.1686, allocations: 22.61 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.1686, allocations: 20.78 kB / 0.5877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1686, allocations: 4.062 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1687, allocations: 34.5 kB / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1687, allocations: 0 / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.1688, allocations: 37.7 kB / 0.5878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1689, allocations: 51.41 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.1689, allocations: 102 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.169, allocations: 25.7 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.169, allocations: 80.14 kB / 0.588 GB, free: 488 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.169, allocations: 11.91 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.1691, allocations: 9.719 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1692, allocations: 310.8 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1692, allocations: 7.938 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.1692, allocations: 3.984 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.1693, allocations: 24.98 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1693, allocations: 0 / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.879e-05/0.1693, allocations: 41.64 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1693, allocations: 4 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1694, allocations: 3.938 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1694, allocations: 0 / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1695, allocations: 11.98 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003877/0.1699, allocations: 0.586 MB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1699, allocations: 4 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.17, allocations: 0 / 0.589 GB, free: 15.42 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.572e-05/0.17, allocations: 113 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.17, allocations: 7.906 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1702, allocations: 44.81 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1702, allocations: 8.062 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1702, allocations: 4 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1702, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1703, allocations: 157.6 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1703, allocations: 0 / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.1704, allocations: 11.98 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1704, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1704, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003256/0.1707, allocations: 0.586 MB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1707, allocations: 0 / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.519e-05/0.1708, allocations: 65.09 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1709, allocations: 81.11 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.1709, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.1709, allocations: 3.938 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.1709, allocations: 0 / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1709, allocations: 128 / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.171, allocations: 87.28 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001842/0.1712, allocations: 11.98 kB / 0.5902 GB, free: 14.12 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.0001562/0.1713, allocations: 111.2 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.1715, allocations: 15.98 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1715, allocations: 0 / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.1716, allocations: 24.08 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1717, allocations: 4 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.1721, allocations: 113.9 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1724, allocations: 0.6806 MB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.403e-05/0.1724, allocations: 0 / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.1724, allocations: 11.5 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1724, allocations: 0 / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002514/0.1749, allocations: 425.1 kB / 0.5915 GB, free: 12.72 MB / 0.4981 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)