Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 106.8 kB / 17.04 MB, free: 6.059 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.001759/0.001759, allocations: 196 kB / 17.98 MB, free: 5.148 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.716/0.716, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3771, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.00192/0.379, allocations: 0.5704 MB / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 4.47e-05/0.3791, allocations: 5.531 kB / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.3791, allocations: 0.625 kB / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3792, allocations: 0 / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3792, allocations: 2.281 kB / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.804e-05/0.3792, allocations: 3.938 kB / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.3793, allocations: 5.609 kB / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.3793, allocations: 1.688 kB / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.3794, allocations: 6.781 kB / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.71e-05/0.3794, allocations: 0 / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3794, allocations: 0.5625 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.3794, allocations: 1.781 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3794, allocations: 0 / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.3795, allocations: 1.219 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.533e-05/0.3795, allocations: 1.156 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3795, allocations: 3.938 kB / 0.5582 GB, free: 36.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3795, allocations: 0.6875 kB / 0.5582 GB, free: 36.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3796, allocations: 1.156 kB / 0.5582 GB, free: 36.28 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.0002018/0.3798, allocations: 310.5 kB / 0.5585 GB, free: 35.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3798, allocations: 9.062 kB / 0.5585 GB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.3798, allocations: 0.9375 kB / 0.5585 GB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.3799, allocations: 163.4 kB / 0.5586 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3799, allocations: 8.375 kB / 0.5586 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3799, allocations: 2.156 kB / 0.5586 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.38, allocations: 30.36 kB / 0.5587 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.38, allocations: 1.344 kB / 0.5587 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3801, allocations: 4.828 kB / 0.5587 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3801, allocations: 0 / 0.5587 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.3801, allocations: 5.156 kB / 0.5587 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3802, allocations: 146 kB / 0.5588 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.3803, allocations: 21.95 kB / 0.5588 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.3803, allocations: 9.828 kB / 0.5588 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.3803, allocations: 1.719 kB / 0.5588 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3803, allocations: 31.69 kB / 0.5589 GB, free: 35.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3803, allocations: 0 / 0.5589 GB, free: 35.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.3805, allocations: 41.28 kB / 0.5589 GB, free: 35.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3805, allocations: 52.75 kB / 0.559 GB, free: 35.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.593e-05/0.3805, allocations: 90.45 kB / 0.559 GB, free: 35.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.3805, allocations: 29.7 kB / 0.5591 GB, free: 35.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.041e-05/0.3805, allocations: 81.7 kB / 0.5592 GB, free: 35.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3806, allocations: 1.406 kB / 0.5592 GB, free: 35.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.3806, allocations: 15.38 kB / 0.5592 GB, free: 35.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.3807, allocations: 312.7 kB / 0.5595 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.3807, allocations: 4.938 kB / 0.5595 GB, free: 34.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.3807, allocations: 1.062 kB / 0.5595 GB, free: 34.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.3807, allocations: 12.11 kB / 0.5595 GB, free: 34.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3807, allocations: 0 / 0.5595 GB, free: 34.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.427e-05/0.3808, allocations: 36.52 kB / 0.5595 GB, free: 34.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3808, allocations: 6.125 kB / 0.5595 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3808, allocations: 0.9688 kB / 0.5595 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3808, allocations: 7.797 kB / 0.5595 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.3809, allocations: 4.969 kB / 0.5595 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3809, allocations: 6.609 kB / 0.5595 GB, free: 34.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.3809, allocations: 0 / 0.5595 GB, free: 34.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3809, allocations: 1.469 kB / 0.5595 GB, free: 34.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.432e-05/0.381, allocations: 106.4 kB / 0.5596 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.381, allocations: 2.938 kB / 0.5597 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299e-05/0.381, allocations: 7.062 kB / 0.5597 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.381, allocations: 2.859 kB / 0.5597 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.381, allocations: 0 / 0.5597 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.381, allocations: 1.531 kB / 0.5597 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.751e-05/0.3811, allocations: 148.7 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3811, allocations: 0.7812 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.3811, allocations: 1.031 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3811, allocations: 3.25 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3811, allocations: 3.938 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3811, allocations: 0 / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3811, allocations: 5.812 kB / 0.5598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.198e-05/0.3812, allocations: 54.92 kB / 0.5599 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3812, allocations: 90.3 kB / 0.56 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3812, allocations: 8.969 kB / 0.56 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-06/0.3812, allocations: 1.344 kB / 0.56 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.3812, allocations: 0 / 0.56 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3813, allocations: 4.031 kB / 0.56 GB, free: 34.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.228e-05/0.3813, allocations: 75.28 kB / 0.56 GB, free: 34.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3813, allocations: 0 / 0.56 GB, free: 34.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.3815, allocations: 1.031 kB / 0.56 GB, free: 34.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.925e-05/0.3815, allocations: 93.41 kB / 0.5601 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.3816, allocations: 7.375 kB / 0.5601 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3816, allocations: 1.219 kB / 0.5601 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.3816, allocations: 4.781 kB / 0.5601 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3818, allocations: 3.25 kB / 0.5601 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.3819, allocations: 78.72 kB / 0.5602 GB, free: 33.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.382, allocations: 0.671 MB / 0.5609 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.115e-05/0.3821, allocations: 6.734 kB / 0.5609 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.3821, allocations: 8.75 kB / 0.5609 GB, free: 33.27 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3821, allocations: 0.625 kB / 0.5609 GB, free: 33.27 MB / 446.1 MB Notification: Performance of Templates: time 0.001543/0.3836, allocations: 164.1 kB / 0.5611 GB, free: 33.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)