Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001054/0.001054, 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.001144/0.001144, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7223/0.7223, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.17 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3732, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001704/0.3749, allocations: 0.4998 MB / 0.5806 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.375, allocations: 24.06 kB / 0.5806 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.3751, allocations: 1.031 kB / 0.5806 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.3751, allocations: 0 / 0.5806 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3752, allocations: 2 kB / 0.5806 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.3752, allocations: 4 kB / 0.5806 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.3753, allocations: 1.781 kB / 0.5806 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.3753, allocations: 2.172 kB / 0.5806 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.3754, allocations: 5.25 kB / 0.5806 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.3754, allocations: 5.516 kB / 0.5806 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3754, allocations: 3.938 kB / 0.5806 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-06/0.3754, allocations: 0 / 0.5806 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3755, allocations: 4.766 kB / 0.5806 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.3755, allocations: 2.516 kB / 0.5806 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.247e-05/0.3755, allocations: 0 / 0.5806 GB, free: 4.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3755, allocations: 0 / 0.5806 GB, free: 4.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3755, allocations: 4.75 kB / 0.5806 GB, free: 4.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3755, allocations: 0.75 kB / 0.5806 GB, free: 4.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001834/0.3757, allocations: 313.7 kB / 0.5809 GB, free: 3.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3758, allocations: 8.719 kB / 0.5809 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.3758, allocations: 6.156 kB / 0.5809 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.006e-05/0.3758, allocations: 161.9 kB / 0.5811 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.3758, allocations: 1.031 kB / 0.5811 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3759, allocations: 1.156 kB / 0.5811 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.376, allocations: 53.64 kB / 0.5812 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.376, allocations: 4.719 kB / 0.5812 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.376, allocations: 0 / 0.5812 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.376, allocations: 1.312 kB / 0.5812 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.376, allocations: 2.641 kB / 0.5812 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.678e-05/0.3761, allocations: 158.8 kB / 0.5813 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.3762, allocations: 41.7 kB / 0.5814 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.3762, allocations: 13.14 kB / 0.5814 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3762, allocations: 0 / 0.5814 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.3762, allocations: 40.98 kB / 0.5814 GB, free: 3.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3762, allocations: 0 / 0.5814 GB, free: 3.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001172/0.3763, allocations: 41.06 kB / 0.5814 GB, free: 3.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.3764, allocations: 82.78 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413e-05/0.3764, allocations: 90.52 kB / 0.5816 GB, free: 3.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3764, allocations: 30.48 kB / 0.5816 GB, free: 2.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.074e-05/0.3764, allocations: 80.8 kB / 0.5817 GB, free: 2.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3765, allocations: 4.969 kB / 0.5817 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.3765, allocations: 13.55 kB / 0.5817 GB, free: 2.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.3765, allocations: 312.8 kB / 0.582 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.3765, allocations: 0.8125 kB / 0.582 GB, free: 2.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.3766, allocations: 25.56 kB / 0.5821 GB, free: 2.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.3766, allocations: 14.8 kB / 0.5821 GB, free: 2.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3766, allocations: 0.8125 kB / 0.5821 GB, free: 2.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.466e-05/0.3767, allocations: 44.75 kB / 0.5821 GB, free: 2.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3767, allocations: 9.969 kB / 0.5821 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3767, allocations: 128 / 0.5821 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3767, allocations: 9.422 kB / 0.5821 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.3768, allocations: 3.969 kB / 0.5821 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3768, allocations: 5.109 kB / 0.5821 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.3768, allocations: 6.5 kB / 0.5821 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3768, allocations: 1.25 kB / 0.5821 GB, free: 2.469 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 3.873e-05/0.3769, allocations: 108.5 kB / 0.5823 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.3769, allocations: 5.375 kB / 0.5823 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.377, allocations: 53.86 kB / 0.5823 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.377, allocations: 0 / 0.5823 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.377, allocations: 1.641 kB / 0.5823 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.377, allocations: 0.5312 kB / 0.5823 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.096e-05/0.377, allocations: 151 kB / 0.5825 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.377, allocations: 0 / 0.5825 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.3771, allocations: 7.531 kB / 0.5825 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3771, allocations: 5.344 kB / 0.5825 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3771, allocations: 5.141 kB / 0.5825 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3771, allocations: 4.531 kB / 0.5825 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3771, allocations: 9.781 kB / 0.5825 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.586e-05/0.3772, allocations: 65.61 kB / 0.5825 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.3772, allocations: 82.56 kB / 0.5826 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.3772, allocations: 2.047 kB / 0.5826 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.3772, allocations: 0.5625 kB / 0.5826 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.3772, allocations: 1.703 kB / 0.5826 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3772, allocations: 6.656 kB / 0.5826 GB, free: 1.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.057e-06/0.3773, allocations: 75.28 kB / 0.5827 GB, free: 1.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3773, allocations: 0 / 0.5827 GB, free: 1.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00019/0.3775, allocations: 0.9062 kB / 0.5827 GB, free: 1.84 MB / 430.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 6.542e-05/0.3775, allocations: 97.45 kB / 0.5828 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.3776, allocations: 12.45 kB / 0.5828 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3776, allocations: 1.5 kB / 0.5828 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.3776, allocations: 7.453 kB / 0.5828 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.3778, allocations: 6.469 kB / 0.5828 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.3779, allocations: 96.61 kB / 0.5829 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.378, allocations: 0.6725 MB / 0.5836 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.378, allocations: 1.656 kB / 0.5836 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.3781, allocations: 9.375 kB / 0.5836 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3781, allocations: 4.125 kB / 0.5836 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of Templates: time 0.001574/0.3796, allocations: 183.2 kB / 0.5838 GB, free: 0.8789 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)