Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5") translateModel(IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001226/0.001226, allocations: 109.9 kB / 16.53 MB, free: 6.664 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.00126/0.00126, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7241/0.7241, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 67.89 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3587, allocations: 76.17 MB / 0.5564 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001748/0.3605, allocations: 0.5886 MB / 0.5569 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.3607, allocations: 41.89 kB / 0.557 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3607, allocations: 0 / 0.557 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3608, allocations: 5.859 kB / 0.557 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3609, allocations: 2.078 kB / 0.557 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.594e-05/0.361, allocations: 2.328 kB / 0.557 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.3611, allocations: 14.61 kB / 0.557 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.3611, allocations: 4.859 kB / 0.557 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.3612, allocations: 6.641 kB / 0.557 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.3612, allocations: 10.62 kB / 0.557 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3613, allocations: 1.875 kB / 0.557 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.3613, allocations: 0.6562 kB / 0.557 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.3613, allocations: 4.938 kB / 0.557 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3614, allocations: 12.14 kB / 0.557 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.325e-05/0.3614, allocations: 7.953 kB / 0.557 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3614, allocations: 0 / 0.557 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.3614, allocations: 3.875 kB / 0.5571 GB, free: 35.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.3614, allocations: 0.9375 kB / 0.5571 GB, free: 35.13 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.0003857/0.3618, allocations: 324.3 kB / 0.5574 GB, free: 34.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3619, allocations: 14.14 kB / 0.5574 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3619, allocations: 2.469 kB / 0.5574 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3621, allocations: 173.7 kB / 0.5575 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.3621, allocations: 384 / 0.5575 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3621, allocations: 7.672 kB / 0.5576 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.3622, allocations: 40.94 kB / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3622, allocations: 1.375 kB / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3622, allocations: 3.938 kB / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3622, allocations: 0 / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.3622, allocations: 6.422 kB / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.3624, allocations: 152.8 kB / 0.5577 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.3624, allocations: 24.69 kB / 0.5578 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.3625, allocations: 9.859 kB / 0.5578 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3625, allocations: 1.031 kB / 0.5578 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3625, allocations: 40.89 kB / 0.5578 GB, free: 34.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3625, allocations: 0 / 0.5578 GB, free: 34.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.3627, allocations: 46.28 kB / 0.5579 GB, free: 34.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3627, allocations: 51.97 kB / 0.5579 GB, free: 34.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.3628, allocations: 110.4 kB / 0.558 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3628, allocations: 25.7 kB / 0.558 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.3628, allocations: 88.88 kB / 0.5581 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3628, allocations: 4.703 kB / 0.5581 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3629, allocations: 13.91 kB / 0.5581 GB, free: 33.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.3629, allocations: 318.3 kB / 0.5585 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.363, allocations: 4.641 kB / 0.5585 GB, free: 33.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.363, allocations: 23.14 kB / 0.5585 GB, free: 33.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.363, allocations: 23.16 kB / 0.5585 GB, free: 33.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.363, allocations: 1.406 kB / 0.5585 GB, free: 33.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.435e-05/0.3631, allocations: 50.5 kB / 0.5585 GB, free: 33.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3631, allocations: 7.562 kB / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3631, allocations: 8.953 kB / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3632, allocations: 0 / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.3632, allocations: 3.812 kB / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3632, allocations: 0.6875 kB / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.3633, allocations: 3.844 kB / 0.5586 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3633, allocations: 1.406 kB / 0.5586 GB, free: 33.52 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.98e-05/0.3633, allocations: 110.4 kB / 0.5587 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.3633, allocations: 1.594 kB / 0.5587 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.3634, allocations: 59.55 kB / 0.5587 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3635, allocations: 3.172 kB / 0.5587 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3635, allocations: 1.094 kB / 0.5587 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3635, allocations: 7.828 kB / 0.5587 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.609e-05/0.3636, allocations: 154.1 kB / 0.5589 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3636, allocations: 2.312 kB / 0.5589 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.3636, allocations: 3.281 kB / 0.5589 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3636, allocations: 2.438 kB / 0.5589 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3636, allocations: 3.938 kB / 0.5589 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3636, allocations: 0 / 0.5589 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3637, allocations: 0 / 0.5589 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.3638, allocations: 83.66 kB / 0.559 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.3638, allocations: 81.58 kB / 0.5591 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3638, allocations: 3.938 kB / 0.5591 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.3639, allocations: 2.094 kB / 0.5591 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.3639, allocations: 13.34 kB / 0.5591 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3639, allocations: 0 / 0.5591 GB, free: 32.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.3639, allocations: 92.53 kB / 0.5592 GB, free: 32.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 1.656 kB / 0.5592 GB, free: 32.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001744/0.3641, allocations: 2.531 kB / 0.5592 GB, free: 32.89 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 8.127e-05/0.3642, allocations: 94.92 kB / 0.5593 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.3643, allocations: 19.31 kB / 0.5593 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3643, allocations: 0 / 0.5593 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.3643, allocations: 6.312 kB / 0.5593 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.3645, allocations: 6.172 kB / 0.5593 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.3647, allocations: 146.1 kB / 0.5594 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3648, allocations: 0.6799 MB / 0.5601 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.3649, allocations: 8.938 kB / 0.5601 GB, free: 31.94 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3649, allocations: 0 / 0.5601 GB, free: 31.94 MB / 446.1 MB Notification: Performance of Templates: time 0.001835/0.3667, allocations: 0.4977 MB / 0.5606 GB, free: 31.94 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)