Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.001863/0.001863, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001966/0.001966, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.505/1.505, 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.8074/0.8074, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 70.52 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 78.87 MB / 0.6506 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001765/0.1663, allocations: 0.5727 MB / 0.6512 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.1666, allocations: 35.88 kB / 0.6512 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.1667, allocations: 0 / 0.6512 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.1667, allocations: 3.984 kB / 0.6512 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1667, allocations: 0 / 0.6512 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.167, allocations: 12 kB / 0.6512 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.1671, allocations: 3.984 kB / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1671, allocations: 15.94 kB / 0.6512 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.1671, allocations: 0 / 0.6512 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.1672, allocations: 3.938 kB / 0.6512 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1672, allocations: 0 / 0.6512 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.1673, allocations: 27.92 kB / 0.6513 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1673, allocations: 0 / 0.6513 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.1673, allocations: 7.938 kB / 0.6513 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.1674, allocations: 28.17 kB / 0.6513 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1675, allocations: 0 / 0.6513 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1675, allocations: 0 / 0.6513 GB, free: 2.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1675, allocations: 0 / 0.6513 GB, free: 2.844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003787/0.1679, allocations: 357.2 kB / 0.6516 GB, free: 2.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1679, allocations: 12.03 kB / 0.6516 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1679, allocations: 30.75 kB / 0.6517 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.168, allocations: 4.891 kB / 0.6517 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1681, allocations: 164.4 kB / 0.6518 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1681, allocations: 384 / 0.6518 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1682, allocations: 384 / 0.6518 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1683, allocations: 58.23 kB / 0.6519 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1683, allocations: 7.875 kB / 0.6519 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1683, allocations: 4 kB / 0.6519 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.1684, allocations: 8 kB / 0.6519 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1684, allocations: 23.98 kB / 0.6519 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1688, allocations: 272.7 kB / 0.6522 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.1688, allocations: 18.58 kB / 0.6522 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.1689, allocations: 4.859 kB / 0.6522 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1689, allocations: 4 kB / 0.6522 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1689, allocations: 38.56 kB / 0.6523 GB, free: 1.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 3.367e-06/0.1689, allocations: 3.984 kB / 0.6523 GB, free: 1.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.1691, allocations: 67.39 kB / 0.6523 GB, free: 1.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.1692, allocations: 77.11 kB / 0.6524 GB, free: 1.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.1693, allocations: 113.8 kB / 0.6525 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1693, allocations: 29.64 kB / 0.6525 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1694, allocations: 108 kB / 0.6526 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/0.1694, allocations: 8 kB / 0.6526 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1694, allocations: 22.06 kB / 0.6527 GB, free: 1.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1696, allocations: 322.8 kB / 0.653 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.1696, allocations: 12 kB / 0.653 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.1697, allocations: 58.8 kB / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1698, allocations: 138.2 kB / 0.6532 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1698, allocations: 3.938 kB / 0.6532 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/0.17, allocations: 115.2 kB / 0.6533 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.17, allocations: 33.7 kB / 0.6533 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1701, allocations: 0 / 0.6533 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1701, allocations: 7.938 kB / 0.6533 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1702, allocations: 24.17 kB / 0.6533 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1702, allocations: 4 kB / 0.6533 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1703, allocations: 4 kB / 0.6534 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1703, allocations: 11.94 kB / 0.6534 GB, free: 400 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001222/0.1704, allocations: 147.5 kB / 0.6535 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1704, allocations: 7.953 kB / 0.6535 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.109e-05/0.1705, allocations: 3.531 kB / 0.6535 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1705, allocations: 0 / 0.6535 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1705, allocations: 0 / 0.6535 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1705, allocations: 0 / 0.6535 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1706, allocations: 157.6 kB / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1706, allocations: 0 / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.1707, allocations: 7.938 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1707, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1707, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1707, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1707, allocations: 480 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1708, allocations: 169.2 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1709, allocations: 85.09 kB / 0.6539 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1709, allocations: 4 kB / 0.6539 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.171, allocations: 3.984 kB / 0.6539 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.171, allocations: 0 / 0.6539 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.171, allocations: 4 kB / 0.6539 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.1711, allocations: 95.14 kB / 0.654 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 0.654 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000245/0.1713, allocations: 15.98 kB / 0.654 GB, free: 15.6 MB / 0.4981 GB 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004786/0.1718, allocations: 0.7025 MB / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.172, allocations: 83.33 kB / 0.6548 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.172, allocations: 0 / 0.6548 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.172, allocations: 55.94 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1722, allocations: 17.77 kB / 0.6549 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.1727, allocations: 146.5 kB / 0.655 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.1732, allocations: 0.6768 MB / 0.6557 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.1733, allocations: 11.98 kB / 0.6557 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1734, allocations: 7.438 kB / 0.6557 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1734, allocations: 0 / 0.6557 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.1966, allocations: 1.439 MB / 0.6571 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.061, allocations: 4.062 kB / 0.6571 GB, free: 12.45 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)