Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001163/0.001163, allocations: 101.6 kB / 16.27 MB, free: 5.93 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.001222/0.001222, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7652/0.7652, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3658, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.002412/0.3682, allocations: 1.45 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3694, allocations: 0.7703 MB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.3694, allocations: 0.5938 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3696, allocations: 133 kB / 0.5696 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.3702, allocations: 185 kB / 0.5698 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.3704, allocations: 74.38 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.3705, allocations: 65.22 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.3705, allocations: 9.422 kB / 0.5699 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.3706, allocations: 38.62 kB / 0.5699 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3707, allocations: 80.05 kB / 0.57 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3707, allocations: 2.75 kB / 0.57 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.3711, allocations: 234.2 kB / 0.5702 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3712, allocations: 106.7 kB / 0.5703 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.3713, allocations: 97.98 kB / 0.5704 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.3717, allocations: 342.2 kB / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3717, allocations: 0 / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3717, allocations: 1.344 kB / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3718, allocations: 0 / 0.5708 GB, free: 30.85 MB / 446.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.0007017/0.3725, allocations: 0.6164 MB / 0.5714 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3725, allocations: 10.25 kB / 0.5714 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.3725, allocations: 32.86 kB / 0.5714 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.3726, allocations: 30.97 kB / 0.5714 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.3734, allocations: 0.9184 MB / 0.5723 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3735, allocations: 3.625 kB / 0.5723 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3735, allocations: 9.641 kB / 0.5723 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3737, allocations: 90.16 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3737, allocations: 0 / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3737, allocations: 1.375 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3737, allocations: 0.625 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3739, allocations: 99.97 kB / 0.5725 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.3746, allocations: 0.5748 MB / 0.5731 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3747, allocations: 111.3 kB / 0.5732 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3749, allocations: 53.06 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.3749, allocations: 24.52 kB / 0.5733 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.375, allocations: 37.88 kB / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.375, allocations: 0 / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004729/0.3754, allocations: 212.9 kB / 0.5735 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3755, allocations: 56.5 kB / 0.5736 GB, free: 29.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.3767, allocations: 1.211 MB / 0.5747 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3767, allocations: 25.7 kB / 0.5748 GB, free: 28.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3768, allocations: 178.7 kB / 0.5749 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3768, allocations: 5.734 kB / 0.5749 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.3768, allocations: 13.45 kB / 0.575 GB, free: 28.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.3769, allocations: 352 kB / 0.5753 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.377, allocations: 52.33 kB / 0.5753 GB, free: 28.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3772, allocations: 47.72 kB / 0.5754 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3774, allocations: 109.5 kB / 0.5755 GB, free: 28.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3774, allocations: 0 / 0.5755 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002633/0.3776, allocations: 170.1 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3777, allocations: 6.031 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3777, allocations: 1.156 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3777, allocations: 0.6875 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.3778, allocations: 9.547 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3778, allocations: 9.688 kB / 0.5757 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.3779, allocations: 7.656 kB / 0.5757 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3779, allocations: 0.75 kB / 0.5757 GB, free: 28.23 MB / 446.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 (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 prepare postOptimizeDAE: time 0.0001115/0.378, allocations: 167.3 kB / 0.5759 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3781, allocations: 33.38 kB / 0.5759 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.3784, allocations: 169.6 kB / 0.576 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3784, allocations: 1.875 kB / 0.576 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3784, allocations: 5.312 kB / 0.5761 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3784, allocations: 0.7031 kB / 0.5761 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3787, allocations: 296.9 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3787, allocations: 0 / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.3788, allocations: 13.88 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3788, allocations: 2.031 kB / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3788, allocations: 0 / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3788, allocations: 1.375 kB / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3788, allocations: 2.391 kB / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.3791, allocations: 261.5 kB / 0.5766 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.3792, allocations: 126.8 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3792, allocations: 0 / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3794, allocations: 10.88 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3794, allocations: 1.906 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3794, allocations: 6 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008822/0.3803, allocations: 0.9492 MB / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3803, allocations: 0 / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.3808, allocations: 78.42 kB / 0.5777 GB, free: 27.21 MB / 446.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.0006849/0.3815, allocations: 0.8484 MB / 0.5786 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3818, allocations: 106.9 kB / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3818, allocations: 0 / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3819, allocations: 58.44 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3823, allocations: 22.03 kB / 0.5788 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.3887, allocations: 6.836 MB / 0.5854 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.389, allocations: 0.7809 MB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.885e-05/0.3891, allocations: 43.3 kB / 0.5862 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3892, allocations: 93.94 kB / 0.5863 GB, free: 22.65 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3892, allocations: 0 / 0.5863 GB, free: 22.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.4133, allocations: 7.039 MB / 0.5932 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.614, allocations: 16.83 kB / 0.5932 GB, free: 15.97 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.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_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)