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.001051/0.001051, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001138/0.001138, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8026/0.8026, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.12 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 77.93 MB / 0.644 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.002045/0.1667, allocations: 0.5842 MB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.629e-05/0.1667, allocations: 4 kB / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1668, allocations: 0 / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.1668, allocations: 0 / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.1669, allocations: 0 / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.816e-05/0.1669, allocations: 0 / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.167, allocations: 4 kB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.167, allocations: 4 kB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.1671, allocations: 0 / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.314e-05/0.1671, allocations: 3.938 kB / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1671, allocations: 0 / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/0.1671, allocations: 0 / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1671, allocations: 3.984 kB / 0.6446 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1672, allocations: 4 kB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.524e-05/0.1672, allocations: 0 / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1672, allocations: 0 / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1673, allocations: 0 / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1673, allocations: 0 / 0.6446 GB, free: 8.988 MB / 494.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.0003452/0.1676, allocations: 319.6 kB / 0.6449 GB, free: 8.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1677, allocations: 8.625 kB / 0.6449 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1677, allocations: 30.75 kB / 0.645 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.1677, allocations: 0.9375 kB / 0.645 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1679, allocations: 164.3 kB / 0.6451 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1679, allocations: 384 / 0.6451 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1679, allocations: 4.375 kB / 0.6451 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.168, allocations: 30.25 kB / 0.6451 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.168, allocations: 3.938 kB / 0.6452 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1681, allocations: 4 kB / 0.6452 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1681, allocations: 0 / 0.6452 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.1681, allocations: 4 kB / 0.6452 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1683, allocations: 145.7 kB / 0.6453 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.1683, allocations: 18.52 kB / 0.6453 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.1683, allocations: 8.953 kB / 0.6453 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.1684, allocations: 0 / 0.6453 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1684, allocations: 42.5 kB / 0.6454 GB, free: 8.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.976e-06/0.1684, allocations: 0 / 0.6454 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.1686, allocations: 45.56 kB / 0.6454 GB, free: 7.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1686, allocations: 51.41 kB / 0.6455 GB, free: 7.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.1687, allocations: 89.86 kB / 0.6455 GB, free: 7.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1687, allocations: 29.64 kB / 0.6456 GB, free: 7.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1687, allocations: 80.14 kB / 0.6456 GB, free: 7.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.1688, allocations: 8.172 kB / 0.6457 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1688, allocations: 22.19 kB / 0.6457 GB, free: 7.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.169, allocations: 310.8 kB / 0.646 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.169, allocations: 0 / 0.646 GB, free: 7.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.169, allocations: 0 / 0.646 GB, free: 7.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.169, allocations: 12.84 kB / 0.646 GB, free: 7.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.169, allocations: 0 / 0.646 GB, free: 7.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.674e-05/0.1691, allocations: 33.69 kB / 0.646 GB, free: 7.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1691, allocations: 12.09 kB / 0.646 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1691, allocations: 7.922 kB / 0.646 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1691, allocations: 0 / 0.646 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.1692, allocations: 3.938 kB / 0.646 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1692, allocations: 0 / 0.646 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.1692, allocations: 4 kB / 0.646 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1693, allocations: 4 kB / 0.646 GB, free: 7.285 MB / 494.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 7.519e-05/0.1693, allocations: 105.8 kB / 0.6462 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.1693, allocations: 0 / 0.6462 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.1694, allocations: 15.05 kB / 0.6462 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1694, allocations: 0 / 0.6462 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1694, allocations: 0 / 0.6462 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1694, allocations: 0 / 0.6462 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.408e-05/0.1695, allocations: 145.7 kB / 0.6463 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1695, allocations: 0 / 0.6463 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.1695, allocations: 0 / 0.6463 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1695, allocations: 4 kB / 0.6463 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1695, allocations: 3.938 kB / 0.6463 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1696, allocations: 7.984 kB / 0.6463 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1696, allocations: 0 / 0.6463 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.82e-05/0.1696, allocations: 61.08 kB / 0.6464 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1697, allocations: 77.11 kB / 0.6465 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1697, allocations: 3.938 kB / 0.6465 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.1697, allocations: 7.938 kB / 0.6465 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1697, allocations: 0 / 0.6465 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1697, allocations: 3.984 kB / 0.6465 GB, free: 6.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.571e-05/0.1698, allocations: 79.28 kB / 0.6465 GB, free: 6.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1698, allocations: 7.969 kB / 0.6465 GB, free: 6.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.17, allocations: 0 / 0.6465 GB, free: 6.676 MB / 494.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.0003392/0.1704, allocations: 0.5851 MB / 0.6471 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.1705, allocations: 15.92 kB / 0.6471 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1705, allocations: 4.094 kB / 0.6471 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.683e-06/0.1705, allocations: 4 kB / 0.6471 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1706, allocations: 0 / 0.6471 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.1709, allocations: 110.6 kB / 0.6472 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1712, allocations: 0.6729 MB / 0.6479 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.277e-05/0.1712, allocations: 0 / 0.6479 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.1713, allocations: 7.438 kB / 0.6479 GB, free: 5.18 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1713, allocations: 0 / 0.6479 GB, free: 5.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.1881, allocations: 0.8771 MB / 0.6488 GB, free: 4.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.648, allocations: 11.47 kB / 0.6488 GB, free: 4.363 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)