Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",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.001837/0.001837, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001992/0.001992, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.419/1.419, 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.8438/0.8438, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 70.12 kB / 0.5736 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1578, allocations: 78.87 MB / 0.6506 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002126/0.16, allocations: 0.5922 MB / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1624, allocations: 1.437 MB / 0.6526 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1624, allocations: 0 / 0.6526 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.1625, allocations: 0 / 0.6526 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.1626, allocations: 7.938 kB / 0.6526 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.1635, allocations: 215.5 kB / 0.6528 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1636, allocations: 35.95 kB / 0.6528 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.1637, allocations: 4 kB / 0.6528 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.1637, allocations: 23.86 kB / 0.6529 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.1638, allocations: 15.98 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1638, allocations: 0 / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.1643, allocations: 255.6 kB / 0.6531 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1643, allocations: 7.938 kB / 0.6531 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.1644, allocations: 23.86 kB / 0.6532 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1647, allocations: 215.8 kB / 0.6534 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1648, allocations: 3.984 kB / 0.6534 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1648, allocations: 0 / 0.6534 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1648, allocations: 0 / 0.6534 GB, free: 0.6797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004684/0.1652, allocations: 404.7 kB / 0.6537 GB, free: 236 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1653, allocations: 8.031 kB / 0.6538 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.1653, allocations: 34.75 kB / 0.6538 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1654, allocations: 4.938 kB / 0.6538 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1655, allocations: 172.3 kB / 0.654 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1656, allocations: 4.375 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1656, allocations: 4.375 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1658, allocations: 77.77 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1658, allocations: 0 / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1658, allocations: 4 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1658, allocations: 0 / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.1659, allocations: 35.97 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.166, allocations: 165.6 kB / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.1661, allocations: 66.48 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.1662, allocations: 52.86 kB / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-06/0.1662, allocations: 0 / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1663, allocations: 42.5 kB / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1663, allocations: 0 / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003243/0.1666, allocations: 187.4 kB / 0.6546 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1667, allocations: 85.11 kB / 0.6546 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1668, allocations: 117.8 kB / 0.6548 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1668, allocations: 29.7 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.1669, allocations: 88.12 kB / 0.6549 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1669, allocations: 19.8 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.167, allocations: 25.7 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1672, allocations: 310.8 kB / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.1673, allocations: 35.97 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1673, allocations: 39.97 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1675, allocations: 140.2 kB / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1675, allocations: 0 / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002069/0.1677, allocations: 151.2 kB / 0.6556 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.1678, allocations: 41.69 kB / 0.6556 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1678, allocations: 3.938 kB / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1678, allocations: 0 / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.1678, allocations: 3.938 kB / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1678, allocations: 0 / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1679, allocations: 11.98 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.168, allocations: 4 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB 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): 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 prepare postOptimizeDAE: time 0.0001324/0.1681, allocations: 155.5 kB / 0.6558 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1681, allocations: 15.89 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.1682, allocations: 8.359 kB / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1682, allocations: 0 / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1682, allocations: 0 / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1682, allocations: 0 / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1683, allocations: 161.7 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1683, allocations: 4 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-06/0.1683, allocations: 3.938 kB / 0.656 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1683, allocations: 0 / 0.656 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1684, allocations: 15.92 kB / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1684, allocations: 0 / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1684, allocations: 0 / 0.656 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1686, allocations: 199.3 kB / 0.6562 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1687, allocations: 92.92 kB / 0.6563 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1687, allocations: 4 kB / 0.6563 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.1688, allocations: 4 kB / 0.6563 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.1688, allocations: 11.98 kB / 0.6563 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1688, allocations: 8.031 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.1689, allocations: 91.25 kB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1689, allocations: 0 / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003298/0.1692, allocations: 75.88 kB / 0.6564 GB, free: 13.14 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.0008175/0.1701, allocations: 0.7857 MB / 0.6572 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1704, allocations: 203.3 kB / 0.6574 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1704, allocations: 0 / 0.6574 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1705, allocations: 151.3 kB / 0.6575 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1707, allocations: 5.875 kB / 0.6576 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.1712, allocations: 222.4 kB / 0.6578 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1716, allocations: 0.6846 MB / 0.6584 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.384e-06/0.1716, allocations: 0 / 0.6584 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1716, allocations: 19.55 kB / 0.6585 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1716, allocations: 4 kB / 0.6585 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.2209, allocations: 3.1 MB / 0.6615 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.047, allocations: 4.531 kB / 0.6615 GB, free: 7.953 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_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_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)