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.001604/0.001604, allocations: 110.2 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.001856/0.001857, allocations: 191.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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8077/0.8077, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.97 kB / 0.5726 GB, free: 27.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 78.69 MB / 0.6494 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001691/0.1658, allocations: 0.5725 MB / 0.65 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.445e-05/0.1659, allocations: 4 kB / 0.65 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1659, allocations: 3.938 kB / 0.65 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1659, allocations: 4 kB / 0.65 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-06/0.1659, allocations: 0 / 0.65 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.734e-05/0.166, allocations: 4 kB / 0.65 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.166, allocations: 0 / 0.65 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1661, allocations: 3.984 kB / 0.65 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.192e-05/0.1661, allocations: 0 / 0.65 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.46e-05/0.1661, allocations: 3.938 kB / 0.65 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1661, allocations: 0 / 0.65 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-06/0.1662, allocations: 4 kB / 0.65 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.1662, allocations: 0 / 0.65 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.1662, allocations: 0 / 0.65 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.018e-05/0.1662, allocations: 7.984 kB / 0.65 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1663, allocations: 0 / 0.65 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1663, allocations: 0 / 0.65 GB, free: 4.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1663, allocations: 0 / 0.65 GB, free: 4.012 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.0002646/0.1665, allocations: 315.6 kB / 0.6503 GB, free: 3.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1666, allocations: 8.031 kB / 0.6503 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.1666, allocations: 34.73 kB / 0.6503 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.1666, allocations: 0.9375 kB / 0.6503 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.1667, allocations: 164.4 kB / 0.6505 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1668, allocations: 4.375 kB / 0.6505 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.1668, allocations: 384 / 0.6505 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.053e-05/0.1669, allocations: 30.2 kB / 0.6505 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1669, allocations: 3.938 kB / 0.6505 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1669, allocations: 0 / 0.6505 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1669, allocations: 4 kB / 0.6505 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.1669, allocations: 3.938 kB / 0.6505 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.1671, allocations: 149.7 kB / 0.6507 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.365e-05/0.1671, allocations: 22.61 kB / 0.6507 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.1671, allocations: 4.859 kB / 0.6507 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1671, allocations: 7.875 kB / 0.6507 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1672, allocations: 38.62 kB / 0.6508 GB, free: 3.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1672, allocations: 0 / 0.6508 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.1673, allocations: 33.64 kB / 0.6508 GB, free: 3.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1673, allocations: 51.41 kB / 0.6508 GB, free: 2.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.045e-05/0.1674, allocations: 97.97 kB / 0.6509 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1674, allocations: 25.7 kB / 0.651 GB, free: 2.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.1674, allocations: 80.14 kB / 0.651 GB, free: 2.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1675, allocations: 8.172 kB / 0.651 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1675, allocations: 18.06 kB / 0.6511 GB, free: 2.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1676, allocations: 310.8 kB / 0.6514 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1676, allocations: 0 / 0.6514 GB, free: 2.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.1676, allocations: 3.938 kB / 0.6514 GB, free: 2.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.1676, allocations: 12.92 kB / 0.6514 GB, free: 2.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1676, allocations: 0 / 0.6514 GB, free: 2.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.098e-05/0.1677, allocations: 33.7 kB / 0.6514 GB, free: 2.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1677, allocations: 7.984 kB / 0.6514 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1677, allocations: 3.938 kB / 0.6514 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1677, allocations: 0 / 0.6514 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.1678, allocations: 0 / 0.6514 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1678, allocations: 4 kB / 0.6514 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.1678, allocations: 4 kB / 0.6514 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1678, allocations: 4.031 kB / 0.6514 GB, free: 2.316 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 6.532e-05/0.1679, allocations: 109.3 kB / 0.6515 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.1679, allocations: 0 / 0.6515 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.1679, allocations: 11 kB / 0.6515 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.168, allocations: 4 kB / 0.6515 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.168, allocations: 4 kB / 0.6516 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.168, allocations: 0 / 0.6516 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.1681, allocations: 145.7 kB / 0.6517 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1681, allocations: 0 / 0.6517 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.1681, allocations: 4 kB / 0.6517 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.1681, allocations: 4 kB / 0.6517 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1681, allocations: 3.938 kB / 0.6517 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1681, allocations: 0 / 0.6517 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1681, allocations: 0 / 0.6517 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/0.1682, allocations: 61.06 kB / 0.6518 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.1682, allocations: 81.11 kB / 0.6518 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.1682, allocations: 7.875 kB / 0.6518 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.1682, allocations: 4.031 kB / 0.6519 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.1683, allocations: 0 / 0.6519 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.1683, allocations: 0 / 0.6519 GB, free: 1.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.1683, allocations: 79.28 kB / 0.6519 GB, free: 1.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1683, allocations: 3.938 kB / 0.6519 GB, free: 1.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.1685, allocations: 0 / 0.6519 GB, free: 1.715 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.0002905/0.1688, allocations: 0.5968 MB / 0.6525 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.1689, allocations: 8 kB / 0.6525 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1689, allocations: 0 / 0.6525 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.1689, allocations: 7.938 kB / 0.6525 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.169, allocations: 1.875 kB / 0.6525 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.1693, allocations: 118.6 kB / 0.6526 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1695, allocations: 0.673 MB / 0.6533 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.286e-05/0.1695, allocations: 0 / 0.6533 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1696, allocations: 7.438 kB / 0.6533 GB, free: 212 kB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1696, allocations: 0 / 0.6533 GB, free: 212 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.1856, allocations: 0.8792 MB / 0.6542 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.781, allocations: 3.25 kB / 0.6542 GB, free: 15.39 MB / 0.4981 GB (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)