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: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.83 kB / 15.98 MB, free: 6.336 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.001599/0.001599, allocations: 200.3 kB / 16.91 MB, free: 6.18 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7556/0.7556, allocations: 115.3 MB / 406.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.451, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001893/0.4529, allocations: 0.6468 MB / 0.5566 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.854e-05/0.4529, allocations: 3.938 kB / 0.5566 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.453, allocations: 2.406 kB / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.453, allocations: 0 / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.804e-06/0.453, allocations: 0 / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.4531, allocations: 3.062 kB / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.4531, allocations: 4.375 kB / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.4532, allocations: 2.188 kB / 0.5567 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.4532, allocations: 4 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.4532, allocations: 0 / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4533, allocations: 1.312 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-06/0.4533, allocations: 0 / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4533, allocations: 0 / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.4533, allocations: 8.922 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.269e-05/0.4534, allocations: 3.938 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4534, allocations: 1.531 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4534, allocations: 1.438 kB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4534, allocations: 0 / 0.5567 GB, free: 35.91 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.0002449/0.4537, allocations: 310 kB / 0.557 GB, free: 35.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4537, allocations: 9.594 kB / 0.557 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.4537, allocations: 32.59 kB / 0.557 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.4538, allocations: 0.9375 kB / 0.557 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/0.4538, allocations: 169.1 kB / 0.5572 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4539, allocations: 384 / 0.5572 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4539, allocations: 2.219 kB / 0.5572 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.454, allocations: 34.12 kB / 0.5572 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.454, allocations: 3.938 kB / 0.5572 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.454, allocations: 1.344 kB / 0.5572 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.454, allocations: 0 / 0.5572 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.454, allocations: 1.938 kB / 0.5572 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.4541, allocations: 146 kB / 0.5574 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.4542, allocations: 20.05 kB / 0.5574 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.4542, allocations: 10.02 kB / 0.5574 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.4542, allocations: 3.938 kB / 0.5574 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4542, allocations: 34.06 kB / 0.5574 GB, free: 35.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.4542, allocations: 0 / 0.5574 GB, free: 35.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.4544, allocations: 38.38 kB / 0.5575 GB, free: 34.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4544, allocations: 56.44 kB / 0.5575 GB, free: 34.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.853e-05/0.4544, allocations: 95.86 kB / 0.5576 GB, free: 34.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.4544, allocations: 25.7 kB / 0.5576 GB, free: 34.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.4545, allocations: 81.23 kB / 0.5577 GB, free: 34.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4545, allocations: 0 / 0.5577 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.4545, allocations: 14.31 kB / 0.5577 GB, free: 34.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.4546, allocations: 310.8 kB / 0.558 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.4546, allocations: 1.406 kB / 0.558 GB, free: 34.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.4546, allocations: 7.859 kB / 0.558 GB, free: 34.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.4546, allocations: 12.27 kB / 0.558 GB, free: 34.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4546, allocations: 0 / 0.558 GB, free: 34.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.862e-05/0.4547, allocations: 34.41 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4547, allocations: 8.25 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4547, allocations: 5.094 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4547, allocations: 1.312 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.4548, allocations: 2.375 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4548, allocations: 1.688 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.4548, allocations: 1.312 kB / 0.5581 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4548, allocations: 0.875 kB / 0.5581 GB, free: 34.32 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.072e-05/0.4548, allocations: 107.9 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.4549, allocations: 1.125 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.4549, allocations: 12.94 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.4549, allocations: 0 / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4549, allocations: 1.156 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4549, allocations: 1.766 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.301e-05/0.455, allocations: 151.5 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.455, allocations: 0 / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.455, allocations: 6.688 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.455, allocations: 0.6875 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.455, allocations: 6.141 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.455, allocations: 1.375 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.455, allocations: 1.219 kB / 0.5584 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.4551, allocations: 62.05 kB / 0.5584 GB, free: 33.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.4551, allocations: 78.05 kB / 0.5585 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4551, allocations: 4.969 kB / 0.5585 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.4551, allocations: 1.188 kB / 0.5585 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.4551, allocations: 4.047 kB / 0.5585 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4551, allocations: 1.062 kB / 0.5585 GB, free: 33.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.382e-05/0.4551, allocations: 77.56 kB / 0.5586 GB, free: 33.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4551, allocations: 3.938 kB / 0.5586 GB, free: 33.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.4554, allocations: 1.094 kB / 0.5586 GB, free: 33.75 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 0.0001995/0.4556, allocations: 0.5937 MB / 0.5592 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.4556, allocations: 4.094 kB / 0.5592 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4556, allocations: 0 / 0.5592 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.4557, allocations: 6.75 kB / 0.5592 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4558, allocations: 3.938 kB / 0.5592 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.4561, allocations: 101.2 kB / 0.5593 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.4562, allocations: 0.6723 MB / 0.5599 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.192e-05/0.4562, allocations: 7.938 kB / 0.5599 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.4562, allocations: 8.938 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4562, allocations: 1.156 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.4664, allocations: 0.7763 MB / 0.5607 GB, free: 32.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.4666, allocations: 190.5 kB / 0.5609 GB, free: 31.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.233, allocations: 0 / 0.5609 GB, free: 31.84 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)