Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007772/0.007772, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8.625 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4595, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0007166/0.4603, allocations: 254.2 kB / 0.5839 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002183/0.4605, allocations: 44.58 kB / 0.584 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.4606, allocations: 0.625 kB / 0.584 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.4606, allocations: 2 kB / 0.584 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.4608, allocations: 6 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.567e-05/0.4609, allocations: 2.828 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.4609, allocations: 5.906 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.461, allocations: 1.844 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.4611, allocations: 8.594 kB / 0.584 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.4612, allocations: 18 kB / 0.584 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.4612, allocations: 0.9375 kB / 0.584 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.4612, allocations: 4.688 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.4613, allocations: 3.781 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.4614, allocations: 31.94 kB / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.4615, allocations: 5.25 kB / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4615, allocations: 0.875 kB / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4615, allocations: 0 / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4615, allocations: 0 / 0.584 GB, free: 3.777 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004311/0.4619, allocations: 329 kB / 0.5844 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.462, allocations: 13.69 kB / 0.5844 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.462, allocations: 6.094 kB / 0.5844 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.4622, allocations: 169.7 kB / 0.5845 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4623, allocations: 1.797 kB / 0.5845 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4623, allocations: 5.031 kB / 0.5845 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.4624, allocations: 39.88 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4624, allocations: 0 / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4624, allocations: 0.7812 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4624, allocations: 3.938 kB / 0.5846 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.4625, allocations: 8.172 kB / 0.5846 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.4627, allocations: 162 kB / 0.5847 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.4627, allocations: 18.83 kB / 0.5848 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.4627, allocations: 8.766 kB / 0.5848 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4628, allocations: 0.7031 kB / 0.5848 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4628, allocations: 35.41 kB / 0.5848 GB, free: 2.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4628, allocations: 0 / 0.5848 GB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001909/0.463, allocations: 45.2 kB / 0.5848 GB, free: 2.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.463, allocations: 55.53 kB / 0.5849 GB, free: 2.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.4631, allocations: 116 kB / 0.585 GB, free: 2.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.4632, allocations: 26.52 kB / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.4632, allocations: 81.88 kB / 0.5851 GB, free: 2.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4632, allocations: 1.359 kB / 0.5851 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4633, allocations: 10.69 kB / 0.5851 GB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.4633, allocations: 317 kB / 0.5854 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.4634, allocations: 4.547 kB / 0.5854 GB, free: 2.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.4634, allocations: 18.72 kB / 0.5855 GB, free: 2.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.4634, allocations: 28.11 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4634, allocations: 0 / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.531e-05/0.4635, allocations: 49.11 kB / 0.5855 GB, free: 2.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4635, allocations: 8.094 kB / 0.5855 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4636, allocations: 0 / 0.5855 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4636, allocations: 8.844 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.4636, allocations: 4.328 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4637, allocations: 1.938 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.4637, allocations: 1.781 kB / 0.5855 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4637, allocations: 4.969 kB / 0.5856 GB, free: 2.145 MB / 430.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 (2): * Single equations (assignments): 2 * 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.69e-05/0.4638, allocations: 112.6 kB / 0.5857 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.4638, allocations: 5.828 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.4639, allocations: 48.59 kB / 0.5857 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4639, allocations: 5.859 kB / 0.5857 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4639, allocations: 0 / 0.5857 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4639, allocations: 0 / 0.5857 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.464, allocations: 150.7 kB / 0.5859 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.464, allocations: 1.797 kB / 0.5859 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.4641, allocations: 11.27 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4641, allocations: 1.406 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4641, allocations: 0 / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4641, allocations: 0.6562 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4641, allocations: 1.359 kB / 0.5859 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.4643, allocations: 81.27 kB / 0.586 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.4643, allocations: 94.67 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.4643, allocations: 1.969 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.4643, allocations: 0.5625 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.4644, allocations: 1.781 kB / 0.5861 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4644, allocations: 0.9688 kB / 0.5861 GB, free: 1.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.4644, allocations: 88.83 kB / 0.5861 GB, free: 1.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4644, allocations: 4.75 kB / 0.5861 GB, free: 1.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.4646, allocations: 2.781 kB / 0.5861 GB, free: 1.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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): 2 * 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.0001005/0.4648, allocations: 101.3 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.4648, allocations: 15.28 kB / 0.5863 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4648, allocations: 0.7188 kB / 0.5863 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.4649, allocations: 6.266 kB / 0.5863 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.465, allocations: 7.906 kB / 0.5863 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.4653, allocations: 130.4 kB / 0.5864 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4654, allocations: 0.6781 MB / 0.5871 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.4655, allocations: 6.625 kB / 0.5871 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.4655, allocations: 8.719 kB / 0.5871 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4655, allocations: 0 / 0.5871 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of Templates: time 0.002377/0.4679, allocations: 294.7 kB / 0.5874 GB, free: 0.5273 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)