Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.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.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",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.001467/0.001466, allocations: 104 kB / 16.4 MB, free: 6 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.001441/0.001441, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.45 kB / 0.568 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 77.93 MB / 0.6441 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002976/0.1478, allocations: 1.488 MB / 0.6456 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1491, allocations: 0.7295 MB / 0.6463 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.1491, allocations: 0 / 0.6463 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1494, allocations: 131.7 kB / 0.6464 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1495, allocations: 79.83 kB / 0.6465 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.1501, allocations: 181.2 kB / 0.6466 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1502, allocations: 63.86 kB / 0.6467 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.1503, allocations: 4 kB / 0.6467 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.1503, allocations: 39.88 kB / 0.6467 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1504, allocations: 75.86 kB / 0.6468 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1505, allocations: 8 kB / 0.6468 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.1508, allocations: 223.6 kB / 0.647 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1509, allocations: 67.8 kB / 0.6471 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.1509, allocations: 59.42 kB / 0.6472 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.1513, allocations: 279.2 kB / 0.6474 GB, free: 6.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1513, allocations: 0 / 0.6474 GB, free: 6.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1513, allocations: 0 / 0.6474 GB, free: 6.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1513, allocations: 0 / 0.6474 GB, free: 6.051 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000603/0.1519, allocations: 0.5096 MB / 0.6479 GB, free: 5.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1519, allocations: 12.62 kB / 0.6479 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.152, allocations: 34.69 kB / 0.648 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.152, allocations: 20.8 kB / 0.648 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1523, allocations: 271.8 kB / 0.6483 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1523, allocations: 4.375 kB / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1523, allocations: 384 / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1525, allocations: 81.77 kB / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1525, allocations: 0 / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1525, allocations: 4 kB / 0.6483 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1525, allocations: 4 kB / 0.6483 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1527, allocations: 87.92 kB / 0.6484 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1532, allocations: 388.8 kB / 0.6488 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1534, allocations: 90.47 kB / 0.6489 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1535, allocations: 52.88 kB / 0.6489 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1536, allocations: 19.98 kB / 0.649 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1536, allocations: 30.56 kB / 0.649 GB, free: 4.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1536, allocations: 0 / 0.649 GB, free: 4.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004327/0.154, allocations: 181.5 kB / 0.6492 GB, free: 4.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1541, allocations: 55.34 kB / 0.6492 GB, free: 4.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1544, allocations: 359.2 kB / 0.6495 GB, free: 3.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1544, allocations: 25.7 kB / 0.6496 GB, free: 3.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.1545, allocations: 132.1 kB / 0.6497 GB, free: 3.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1545, allocations: 3.953 kB / 0.6497 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1546, allocations: 29.7 kB / 0.6497 GB, free: 3.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1547, allocations: 342.8 kB / 0.6501 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1548, allocations: 99.97 kB / 0.6502 GB, free: 3.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.155, allocations: 91.95 kB / 0.6502 GB, free: 2.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1553, allocations: 207.3 kB / 0.6504 GB, free: 2.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1553, allocations: 0 / 0.6504 GB, free: 2.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003403/0.1556, allocations: 253.3 kB / 0.6507 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1557, allocations: 12 kB / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1557, allocations: 0 / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1557, allocations: 0 / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1558, allocations: 7.984 kB / 0.6507 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1558, allocations: 4 kB / 0.6507 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1559, allocations: 23.81 kB / 0.6507 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1559, allocations: 3.938 kB / 0.6507 GB, free: 2.438 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 9.729e-05/0.156, allocations: 149.7 kB / 0.6509 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.156, allocations: 19.86 kB / 0.6509 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1563, allocations: 146.6 kB / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1563, allocations: 0 / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1563, allocations: 0 / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1563, allocations: 0 / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1565, allocations: 245.5 kB / 0.6513 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1566, allocations: 3.938 kB / 0.6513 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1566, allocations: 11.98 kB / 0.6513 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1566, allocations: 4.031 kB / 0.6513 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.1566, allocations: 0 / 0.6513 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1566, allocations: 0 / 0.6513 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1567, allocations: 4 kB / 0.6513 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1569, allocations: 231.3 kB / 0.6515 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.157, allocations: 105 kB / 0.6516 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1571, allocations: 4.031 kB / 0.6516 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.1572, allocations: 4 kB / 0.6516 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1572, allocations: 7.984 kB / 0.6516 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1572, allocations: 0 / 0.6516 GB, free: 1.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.1574, allocations: 249.9 kB / 0.6519 GB, free: 1.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1574, allocations: 0 / 0.6519 GB, free: 1.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1578, allocations: 71.86 kB / 0.6519 GB, free: 1.102 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 (2): * Single equations (assignments): 2 * 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.0007189/0.1585, allocations: 0.8176 MB / 0.6527 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.1588, allocations: 159.9 kB / 0.6529 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1588, allocations: 0 / 0.6529 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.159, allocations: 51.92 kB / 0.6529 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1593, allocations: 13.91 kB / 0.6529 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.162, allocations: 2.718 MB / 0.6556 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1623, allocations: 0.7424 MB / 0.6563 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.1623, allocations: 16.55 kB / 0.6563 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1624, allocations: 51.42 kB / 0.6564 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1624, allocations: 0 / 0.6564 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.182, allocations: 4.3 MB / 0.6606 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.855, allocations: 3.859 kB / 0.6606 GB, free: 8.219 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)