Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, 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.001157/0.001157, allocations: 189.9 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9862/0.9862, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.52 kB / 0.5049 GB, free: 5.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 80.93 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002137/0.1607, allocations: 1.329 MB / 0.5852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.1615, allocations: 0.6011 MB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.1616, allocations: 3.938 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1616, allocations: 4 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.1616, allocations: 15.91 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1621, allocations: 115.6 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.1621, allocations: 15.92 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.1622, allocations: 8 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.1622, allocations: 4 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.1623, allocations: 11.92 kB / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1623, allocations: 3.984 kB / 0.5859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.1627, allocations: 347.3 kB / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.1627, allocations: 0 / 0.5863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1627, allocations: 11.94 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.163, allocations: 151.9 kB / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.163, allocations: 0 / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.163, allocations: 0 / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.163, allocations: 0 / 0.5864 GB, free: 2.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003661/0.1634, allocations: 359.4 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1634, allocations: 12.03 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1634, allocations: 8.922 kB / 0.5868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.1635, allocations: 164.4 kB / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1635, allocations: 4.375 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1636, allocations: 384 / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.1637, allocations: 45.81 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1637, allocations: 3.938 kB / 0.587 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1637, allocations: 4 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1637, allocations: 3.938 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.1637, allocations: 11.98 kB / 0.587 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.164, allocations: 256.9 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1642, allocations: 42.62 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.1643, allocations: 20.86 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1643, allocations: 0 / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1643, allocations: 42.5 kB / 0.5874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1643, allocations: 4 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.1645, allocations: 57.59 kB / 0.5874 GB, free: 1.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1645, allocations: 55.34 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.1646, allocations: 97.84 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1646, allocations: 29.7 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1646, allocations: 80.14 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1646, allocations: 15.75 kB / 0.5877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.1647, allocations: 21.7 kB / 0.5877 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.1648, allocations: 322.8 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.1648, allocations: 8 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.1648, allocations: 21.64 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.1649, allocations: 29.72 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1649, allocations: 0 / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.333e-05/0.165, allocations: 53.62 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.165, allocations: 10.19 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.165, allocations: 4.031 kB / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.165, allocations: 0 / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.1651, allocations: 12 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1651, allocations: 0 / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.1651, allocations: 4.406 kB / 0.5882 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1651, allocations: 4 kB / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.135e-05/0.1652, allocations: 109.8 kB / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1652, allocations: 7.906 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1654, allocations: 73.19 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1654, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1654, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1654, allocations: 3.984 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1655, allocations: 157.5 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1655, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.1656, allocations: 11.98 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1656, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1656, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1656, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1656, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1657, allocations: 155.4 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.1658, allocations: 85.05 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1658, allocations: 0 / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.1658, allocations: 0 / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.1658, allocations: 7.922 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1659, allocations: 8.125 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.1659, allocations: 79.28 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 4 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000236/0.1662, allocations: 23.94 kB / 0.5889 GB, free: 15.38 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 (4): * Single equations (assignments): 4 * 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.0001546/0.1663, allocations: 111.2 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.1664, allocations: 27.92 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1664, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.1665, allocations: 15.98 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1667, allocations: 7.938 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.1669, allocations: 142.5 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1672, allocations: 0.6802 MB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.1672, allocations: 4 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.1672, allocations: 7.438 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.1672, allocations: 0 / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002185/0.1694, allocations: 0.503 MB / 0.5903 GB, free: 13.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)