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.001324/0.001325, allocations: 107 kB / 16.27 MB, free: 5.992 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.001295/0.001295, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7993/0.7993, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.89 kB / 0.506 GB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3532, allocations: 80.91 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001731/0.355, allocations: 0.5011 MB / 0.5855 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.3551, allocations: 16.64 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.3552, allocations: 0 / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.3552, allocations: 5.281 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3553, allocations: 1.156 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.3554, allocations: 1.25 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.3554, allocations: 5.172 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.3555, allocations: 4.094 kB / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.3555, allocations: 0 / 0.5855 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.3555, allocations: 5.156 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3556, allocations: 1.094 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.3556, allocations: 0 / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.3556, allocations: 3.984 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.3556, allocations: 2.656 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.842e-05/0.3556, allocations: 0 / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.8e-06/0.3556, allocations: 1.469 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3557, allocations: 3.938 kB / 0.5855 GB, free: 24.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.3557, allocations: 0.625 kB / 0.5855 GB, free: 24.88 MB / 446.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.0002274/0.3559, allocations: 312.8 kB / 0.5858 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3559, allocations: 14.42 kB / 0.5859 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.356, allocations: 5.875 kB / 0.5859 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.029e-05/0.356, allocations: 165.6 kB / 0.586 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.3561, allocations: 384 / 0.586 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3561, allocations: 2.594 kB / 0.586 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3562, allocations: 48.8 kB / 0.5861 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3562, allocations: 0 / 0.5861 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3562, allocations: 3.938 kB / 0.5861 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3562, allocations: 3.031 kB / 0.5861 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.3562, allocations: 11.08 kB / 0.5861 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3564, allocations: 156.6 kB / 0.5862 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.415e-05/0.3564, allocations: 39.66 kB / 0.5863 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.851e-05/0.3564, allocations: 11.16 kB / 0.5863 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3564, allocations: 1.312 kB / 0.5863 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3565, allocations: 44.83 kB / 0.5863 GB, free: 23.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3565, allocations: 0.875 kB / 0.5863 GB, free: 23.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.3566, allocations: 41.52 kB / 0.5864 GB, free: 23.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.3566, allocations: 77.11 kB / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.655e-05/0.3567, allocations: 91.33 kB / 0.5865 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.3567, allocations: 29.7 kB / 0.5866 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.29e-05/0.3567, allocations: 81.48 kB / 0.5866 GB, free: 23.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3567, allocations: 9.422 kB / 0.5866 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3568, allocations: 12.41 kB / 0.5867 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.3568, allocations: 312.3 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.3568, allocations: 1.219 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.3568, allocations: 17.56 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.3569, allocations: 20.72 kB / 0.587 GB, free: 23.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3569, allocations: 0 / 0.587 GB, free: 23.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.278e-05/0.3569, allocations: 46.81 kB / 0.587 GB, free: 23.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.357, allocations: 10.47 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.357, allocations: 0.5 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.357, allocations: 1.219 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.3571, allocations: 3.312 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3571, allocations: 1.312 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.3571, allocations: 4.344 kB / 0.5871 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3571, allocations: 0.9688 kB / 0.5871 GB, free: 23.17 MB / 446.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 4.419e-05/0.3571, allocations: 113.4 kB / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.3572, allocations: 12.83 kB / 0.5872 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.3573, allocations: 52.34 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3573, allocations: 0 / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3573, allocations: 1.156 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3573, allocations: 0 / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.313e-05/0.3573, allocations: 153.4 kB / 0.5874 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3573, allocations: 5.281 kB / 0.5874 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3574, allocations: 6.609 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3574, allocations: 5.375 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3574, allocations: 1.938 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3574, allocations: 1.406 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3574, allocations: 4 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.383e-05/0.3575, allocations: 74.2 kB / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.3575, allocations: 82.45 kB / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3575, allocations: 0 / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.3575, allocations: 1.406 kB / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3576, allocations: 2.312 kB / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3576, allocations: 1.375 kB / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.243e-05/0.3576, allocations: 76.03 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3576, allocations: 0 / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.3578, allocations: 2.875 kB / 0.5876 GB, free: 22.53 MB / 446.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 7.273e-05/0.3579, allocations: 97.56 kB / 0.5877 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.358, allocations: 16.3 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.358, allocations: 0 / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.358, allocations: 7.125 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3581, allocations: 3.297 kB / 0.5878 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.3583, allocations: 123.6 kB / 0.5879 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.3584, allocations: 0.674 MB / 0.5885 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.3584, allocations: 8.75 kB / 0.5885 GB, free: 21.58 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3585, allocations: 1.406 kB / 0.5885 GB, free: 21.58 MB / 446.1 MB Notification: Performance of Templates: time 0.001543/0.36, allocations: 373.3 kB / 0.5889 GB, free: 21.41 MB / 446.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)