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.0007244/0.0007244, allocations: 92.62 kB / 15.7 MB, free: 472 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.0007697/0.0007696, allocations: 173.2 kB / 16.58 MB, free: 5.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.174/1.174, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5941/0.5941, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002782, allocations: 12 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.0005757/0.1182, allocations: 315.5 kB / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.217e-05/0.1183, allocations: 0 / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-06/0.1183, allocations: 4 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.686e-06/0.1183, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.1183, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.738e-05/0.1183, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.1184, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.1184, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.094e-05/0.1184, allocations: 4 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.476e-05/0.1185, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.435e-06/0.1185, allocations: 4 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-06/0.1185, allocations: 7.938 kB / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.1185, allocations: 0 / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.1185, allocations: 25.7 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.969e-05/0.1186, allocations: 0 / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1186, allocations: 3.938 kB / 0.5572 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1186, allocations: 0 / 0.5572 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1186, allocations: 0 / 0.5572 GB, free: 11.33 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001933/0.1188, allocations: 311.4 kB / 0.5575 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.1188, allocations: 8.031 kB / 0.5575 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.1188, allocations: 30.56 kB / 0.5576 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.274e-05/0.1189, allocations: 4 kB / 0.5576 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.1189, allocations: 163.1 kB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.119, allocations: 0 / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.119, allocations: 7.938 kB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.119, allocations: 33.66 kB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1191, allocations: 4 kB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.1191, allocations: 3.984 kB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1191, allocations: 0 / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.496e-05/0.1191, allocations: 7.938 kB / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.1192, allocations: 145.7 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.1193, allocations: 14.58 kB / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.1193, allocations: 12.95 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-06/0.1193, allocations: 0 / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1193, allocations: 34.56 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.1193, allocations: 0 / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.645e-05/0.1194, allocations: 45.58 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1195, allocations: 55.41 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.306e-05/0.1195, allocations: 89.86 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1195, allocations: 25.7 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.1195, allocations: 80.14 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1196, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1196, allocations: 4 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.1197, allocations: 310.8 kB / 0.5586 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-06/0.1197, allocations: 4.125 kB / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.1197, allocations: 4 kB / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.439e-05/0.1197, allocations: 0 / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1197, allocations: 3.938 kB / 0.5586 GB, free: 9.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.28e-05/0.1198, allocations: 37.62 kB / 0.5586 GB, free: 9.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1198, allocations: 8 kB / 0.5586 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1198, allocations: 0 / 0.5586 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1198, allocations: 0 / 0.5586 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.1199, allocations: 3.953 kB / 0.5586 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1199, allocations: 96 / 0.5586 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.1199, allocations: 11.91 kB / 0.5586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.1199, allocations: 0 / 0.5586 GB, free: 9.672 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.12, allocations: 109.8 kB / 0.5587 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-06/0.12, allocations: 0 / 0.5587 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.12, allocations: 3.125 kB / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.12, allocations: 0 / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.12, allocations: 3.953 kB / 0.5587 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.12, allocations: 7.984 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.271e-05/0.1201, allocations: 142 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1201, allocations: 4 kB / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.1201, allocations: 0 / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1201, allocations: 0 / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.1202, allocations: 7.938 kB / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1202, allocations: 0 / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1202, allocations: 0 / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.918e-05/0.1202, allocations: 65.02 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1203, allocations: 77.11 kB / 0.559 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1203, allocations: 8.031 kB / 0.559 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-06/0.1203, allocations: 0 / 0.559 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.1203, allocations: 0 / 0.559 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.1203, allocations: 0 / 0.559 GB, free: 9.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.548e-05/0.1203, allocations: 77.34 kB / 0.5591 GB, free: 9.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1203, allocations: 0 / 0.5591 GB, free: 9.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001559/0.1205, allocations: 3.953 kB / 0.5591 GB, free: 9.074 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.1208, allocations: 0.5936 MB / 0.5597 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 3.93e-05/0.1208, allocations: 7.938 kB / 0.5597 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1208, allocations: 0 / 0.5597 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.311e-06/0.1209, allocations: 4 kB / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.121, allocations: 4 kB / 0.5597 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.1212, allocations: 108.5 kB / 0.5598 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1214, allocations: 0.6692 MB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.233e-06/0.1214, allocations: 4 kB / 0.5605 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1214, allocations: 7.438 kB / 0.5605 GB, free: 7.578 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1214, allocations: 0 / 0.5605 GB, free: 7.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008483/0.1299, allocations: 0.7013 MB / 0.5612 GB, free: 7.004 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.1301, allocations: 169.5 kB / 0.5613 GB, free: 6.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.357/1.488, allocations: 0 / 0.5613 GB, free: 6.766 MB / 430.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/linux/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) Environment - environmentSimulation: