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.001544/0.001544, allocations: 106.2 kB / 16.4 MB, free: 6.477 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.002024/0.002024, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.551/1.551, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 68.8 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1494, allocations: 76.18 MB / 0.6315 GB, free: 4.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001637/0.151, allocations: 0.5803 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.722e-05/0.1511, allocations: 0 / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.1511, allocations: 4 kB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.1511, allocations: 0 / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-06/0.1512, allocations: 0 / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.695e-05/0.1512, allocations: 3.938 kB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.168e-05/0.1513, allocations: 8 kB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.1513, allocations: 0 / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.1513, allocations: 4 kB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.1514, allocations: 0 / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1514, allocations: 0 / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-06/0.1514, allocations: 0 / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1514, allocations: 7.922 kB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.1514, allocations: 0 / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.488e-05/0.1515, allocations: 0 / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1515, allocations: 3.984 kB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1515, allocations: 0 / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1515, allocations: 4 kB / 0.6322 GB, free: 4.352 MB / 478.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.000234/0.1517, allocations: 307.6 kB / 0.6324 GB, free: 4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1518, allocations: 12.06 kB / 0.6325 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.1518, allocations: 34.75 kB / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.54e-05/0.1518, allocations: 0.9375 kB / 0.6325 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.1519, allocations: 164.4 kB / 0.6326 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1519, allocations: 384 / 0.6326 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-06/0.1519, allocations: 384 / 0.6326 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.152, allocations: 30.27 kB / 0.6327 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.152, allocations: 11.88 kB / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.1521, allocations: 0 / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1521, allocations: 3.938 kB / 0.6327 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.1521, allocations: 0 / 0.6327 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.1522, allocations: 141.7 kB / 0.6328 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.1522, allocations: 22.61 kB / 0.6328 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.1523, allocations: 12.91 kB / 0.6329 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1523, allocations: 4 kB / 0.6329 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1523, allocations: 30.56 kB / 0.6329 GB, free: 3.418 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1523, allocations: 0 / 0.6329 GB, free: 3.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.1524, allocations: 37.58 kB / 0.6329 GB, free: 3.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1525, allocations: 55.41 kB / 0.633 GB, free: 3.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.959e-05/0.1525, allocations: 89.86 kB / 0.6331 GB, free: 3.211 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1525, allocations: 25.7 kB / 0.6331 GB, free: 3.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.1526, allocations: 88.08 kB / 0.6332 GB, free: 3.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1526, allocations: 8.031 kB / 0.6332 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.1526, allocations: 10.06 kB / 0.6332 GB, free: 3.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.1527, allocations: 314.8 kB / 0.6335 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.1527, allocations: 0 / 0.6335 GB, free: 2.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.1527, allocations: 4 kB / 0.6335 GB, free: 2.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.1528, allocations: 16.8 kB / 0.6335 GB, free: 2.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1528, allocations: 4 kB / 0.6335 GB, free: 2.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.929e-05/0.1528, allocations: 33.77 kB / 0.6335 GB, free: 2.684 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1528, allocations: 4 kB / 0.6336 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1528, allocations: 3.938 kB / 0.6336 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1529, allocations: 0 / 0.6336 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.1529, allocations: 4 kB / 0.6336 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1529, allocations: 0 / 0.6336 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.1529, allocations: 0 / 0.6336 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1529, allocations: 0 / 0.6336 GB, free: 2.672 MB / 478.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 5.644e-05/0.153, allocations: 109.8 kB / 0.6337 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.153, allocations: 8.031 kB / 0.6337 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.153, allocations: 11.06 kB / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.153, allocations: 0 / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.153, allocations: 0 / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1531, allocations: 3.984 kB / 0.6337 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/0.1531, allocations: 144.5 kB / 0.6338 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1531, allocations: 0 / 0.6338 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.1532, allocations: 7.984 kB / 0.6338 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1532, allocations: 3.938 kB / 0.6338 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1532, allocations: 3.938 kB / 0.6338 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1532, allocations: 0 / 0.6338 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1532, allocations: 4 kB / 0.6338 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.776e-05/0.1533, allocations: 57.14 kB / 0.6339 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.1533, allocations: 81.05 kB / 0.634 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1533, allocations: 7.922 kB / 0.634 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.1533, allocations: 4 kB / 0.634 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-06/0.1533, allocations: 0 / 0.634 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.1533, allocations: 0 / 0.634 GB, free: 2.141 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.145e-05/0.1534, allocations: 79.31 kB / 0.6341 GB, free: 2.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1534, allocations: 7.938 kB / 0.6341 GB, free: 2.055 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1536, allocations: 0 / 0.6341 GB, free: 2.055 MB / 478.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.0002757/0.1538, allocations: 0.5928 MB / 0.6346 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.1539, allocations: 4.031 kB / 0.6347 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1539, allocations: 4 kB / 0.6347 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.1539, allocations: 0 / 0.6347 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.1541, allocations: 1.562 kB / 0.6347 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.1543, allocations: 110.7 kB / 0.6348 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1545, allocations: 0.6729 MB / 0.6354 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1545, allocations: 4 kB / 0.6354 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.1545, allocations: 7.438 kB / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1546, allocations: 128 / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.168, allocations: 0.8802 MB / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.694, allocations: 10.28 kB / 0.6363 GB, free: 15.74 MB / 494.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)