Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9327/0.9327, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.97 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.92 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001661/0.161, allocations: 0.5099 MB / 0.5849 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.1612, allocations: 11.98 kB / 0.5849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.1612, allocations: 0 / 0.5849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1612, allocations: 0 / 0.5849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1614, allocations: 7.922 kB / 0.5849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.387e-06/0.1614, allocations: 0 / 0.5849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.1614, allocations: 0 / 0.5849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1615, allocations: 8 kB / 0.5849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.1615, allocations: 0 / 0.5849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.1615, allocations: 7.922 kB / 0.5849 GB, free: 4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1615, allocations: 7.938 kB / 0.5849 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.1616, allocations: 0 / 0.5849 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1616, allocations: 4 kB / 0.5849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.1616, allocations: 0 / 0.5849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.702e-05/0.1616, allocations: 3.984 kB / 0.5849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1616, allocations: 0 / 0.5849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1616, allocations: 0 / 0.5849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1617, allocations: 0 / 0.5849 GB, free: 3.984 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.0002726/0.1619, allocations: 307.6 kB / 0.5852 GB, free: 3.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.162, allocations: 12.02 kB / 0.5852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.162, allocations: 8.938 kB / 0.5852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.1621, allocations: 164.3 kB / 0.5854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1621, allocations: 4.375 kB / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-06/0.1621, allocations: 384 / 0.5854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1622, allocations: 43.55 kB / 0.5854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1623, allocations: 0 / 0.5854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1623, allocations: 3.938 kB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1623, allocations: 0 / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.1623, allocations: 15.92 kB / 0.5854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1625, allocations: 154.6 kB / 0.5856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.1625, allocations: 37.16 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.1625, allocations: 17.84 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1626, allocations: 7.969 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1626, allocations: 46.44 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1626, allocations: 0 / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.1628, allocations: 41.64 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1628, allocations: 77.11 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/0.1629, allocations: 89.86 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1629, allocations: 29.69 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.1629, allocations: 80.39 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1629, allocations: 11.91 kB / 0.586 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.163, allocations: 13.72 kB / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.1631, allocations: 310.8 kB / 0.5863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.1631, allocations: 4 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.1631, allocations: 13.72 kB / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.1632, allocations: 29.7 kB / 0.5864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1632, allocations: 0 / 0.5864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.492e-05/0.1632, allocations: 33.7 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1633, allocations: 7.938 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1633, allocations: 4 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1633, allocations: 0 / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1634, allocations: 4 kB / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1634, allocations: 11.86 kB / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1634, allocations: 288 / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1634, allocations: 4.062 kB / 0.5864 GB, free: 2.168 MB / 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 (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.299e-05/0.1635, allocations: 117.8 kB / 0.5865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1635, allocations: 3.938 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1636, allocations: 52.66 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1636, allocations: 0 / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1636, allocations: 4 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1636, allocations: 0 / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.384e-05/0.1637, allocations: 149.7 kB / 0.5867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1637, allocations: 3.938 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.1638, allocations: 4 kB / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1638, allocations: 3.938 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1638, allocations: 4 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1638, allocations: 0 / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1638, allocations: 0 / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.328e-05/0.1639, allocations: 73.92 kB / 0.5868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.1639, allocations: 81.05 kB / 0.5869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1639, allocations: 4 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.1639, allocations: 4 kB / 0.5869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.164, allocations: 0 / 0.5869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.164, allocations: 4 kB / 0.5869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.164, allocations: 75.28 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.164, allocations: 0 / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001766/0.1642, allocations: 0 / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.314e-05/0.1643, allocations: 103.3 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.319e-05/0.1644, allocations: 7.938 kB / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1644, allocations: 0 / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.1644, allocations: 8 kB / 0.5871 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1645, allocations: 6.344 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.1647, allocations: 102 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.165, allocations: 0.6729 MB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.638e-05/0.165, allocations: 0 / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.165, allocations: 7.438 kB / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.165, allocations: 0 / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Templates: time 0.001881/0.1669, allocations: 202.6 kB / 0.5881 GB, free: 332 kB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)