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.001635/0.001635, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001795/0.001795, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.619/1.619, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.797/0.797, allocations: 132.2 MB / 423.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 59.89 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3816, allocations: 80.18 MB / 0.5807 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001655/0.3833, allocations: 0.5155 MB / 0.5812 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.3835, allocations: 45.84 kB / 0.5813 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3836, allocations: 2.094 kB / 0.5813 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.3836, allocations: 4.484 kB / 0.5813 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3837, allocations: 7.031 kB / 0.5813 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.911e-05/0.3838, allocations: 2.375 kB / 0.5813 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.3838, allocations: 7.938 kB / 0.5813 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.3839, allocations: 5.047 kB / 0.5813 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.3839, allocations: 6.531 kB / 0.5813 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.384, allocations: 5.719 kB / 0.5813 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.384, allocations: 5.281 kB / 0.5813 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-06/0.384, allocations: 3.938 kB / 0.5813 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.3841, allocations: 10.38 kB / 0.5813 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.3841, allocations: 12.12 kB / 0.5813 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.806e-05/0.3842, allocations: 4.188 kB / 0.5813 GB, free: 26.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3842, allocations: 0 / 0.5813 GB, free: 26.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3842, allocations: 0 / 0.5813 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3842, allocations: 0 / 0.5813 GB, free: 26.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003055/0.3845, allocations: 334 kB / 0.5817 GB, free: 26.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3845, allocations: 9.344 kB / 0.5817 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.3846, allocations: 3.906 kB / 0.5817 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3847, allocations: 178.2 kB / 0.5818 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3847, allocations: 1.5 kB / 0.5819 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3847, allocations: 3.719 kB / 0.5819 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.064e-05/0.3848, allocations: 32.73 kB / 0.5819 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3848, allocations: 1.344 kB / 0.5819 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.3848, allocations: 0 / 0.5819 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3848, allocations: 4 kB / 0.5819 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.3849, allocations: 11.27 kB / 0.5819 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.385, allocations: 153.5 kB / 0.582 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.385, allocations: 19.73 kB / 0.5821 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.385, allocations: 8.109 kB / 0.5821 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.385, allocations: 0 / 0.5821 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3851, allocations: 45.11 kB / 0.5821 GB, free: 25.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.3851, allocations: 0 / 0.5821 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.3852, allocations: 44.31 kB / 0.5822 GB, free: 25.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.3852, allocations: 54.72 kB / 0.5822 GB, free: 25.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/0.3853, allocations: 108.4 kB / 0.5823 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3853, allocations: 25.7 kB / 0.5823 GB, free: 25.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.3853, allocations: 81.23 kB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3853, allocations: 9.031 kB / 0.5824 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.3854, allocations: 12.59 kB / 0.5824 GB, free: 25.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.3854, allocations: 316.4 kB / 0.5827 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.3854, allocations: 8.344 kB / 0.5827 GB, free: 25.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.3855, allocations: 13.75 kB / 0.5828 GB, free: 25.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.3855, allocations: 25.95 kB / 0.5828 GB, free: 25.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3855, allocations: 0.75 kB / 0.5828 GB, free: 25.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.161e-05/0.3856, allocations: 51.25 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3856, allocations: 4.469 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3856, allocations: 1.875 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3856, allocations: 2.219 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.3857, allocations: 7.812 kB / 0.5829 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3857, allocations: 1.125 kB / 0.5829 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.3857, allocations: 9.094 kB / 0.5829 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3857, allocations: 5.234 kB / 0.5829 GB, free: 25.22 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.186e-05/0.3858, allocations: 108.1 kB / 0.583 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.3858, allocations: 6.156 kB / 0.583 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.3859, allocations: 51.77 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3859, allocations: 1.594 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3859, allocations: 0 / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3859, allocations: 0.7188 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.996e-05/0.386, allocations: 159 kB / 0.5832 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.386, allocations: 1.438 kB / 0.5832 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.386, allocations: 15.42 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.386, allocations: 0 / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3861, allocations: 1.094 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3861, allocations: 1.062 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3861, allocations: 1.406 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.3862, allocations: 80.92 kB / 0.5833 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3862, allocations: 85.95 kB / 0.5834 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3862, allocations: 5.062 kB / 0.5834 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.3862, allocations: 2.281 kB / 0.5834 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.3863, allocations: 0 / 0.5834 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3863, allocations: 1.094 kB / 0.5834 GB, free: 24.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.3863, allocations: 91.42 kB / 0.5835 GB, free: 24.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3863, allocations: 0.5 kB / 0.5835 GB, free: 24.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000182/0.3865, allocations: 5.281 kB / 0.5835 GB, free: 24.58 MB / 446.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 7.471e-05/0.3866, allocations: 95.81 kB / 0.5835 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.3866, allocations: 17.11 kB / 0.5836 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3867, allocations: 1.344 kB / 0.5836 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.3867, allocations: 5 kB / 0.5836 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.3868, allocations: 9.188 kB / 0.5836 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.387, allocations: 143.2 kB / 0.5837 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.3872, allocations: 0.6825 MB / 0.5844 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.3872, allocations: 8.688 kB / 0.5844 GB, free: 23.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3872, allocations: 5.094 kB / 0.5844 GB, free: 23.61 MB / 446.1 MB Notification: Performance of Templates: time 0.001522/0.3887, allocations: 0.5112 MB / 0.5849 GB, free: 23.38 MB / 446.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)