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.001149/0.001149, allocations: 105.2 kB / 16.27 MB, free: 6.402 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.001201/0.001201, allocations: 192 kB / 17.2 MB, free: 5.973 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.261/1.261, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3595, allocations: 77.92 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002442/0.362, allocations: 1.481 MB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3631, allocations: 0.7324 MB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.3631, allocations: 1.656 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3634, allocations: 130.3 kB / 0.5696 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3635, allocations: 73.91 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.3641, allocations: 180.9 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.3642, allocations: 63.55 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3642, allocations: 4.766 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.3643, allocations: 46.53 kB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3645, allocations: 79.8 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3645, allocations: 2.188 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.3649, allocations: 222 kB / 0.5702 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.365, allocations: 61.59 kB / 0.5703 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.365, allocations: 63.55 kB / 0.5703 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.3654, allocations: 268.2 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3654, allocations: 1.375 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3654, allocations: 0.5156 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3655, allocations: 0 / 0.5706 GB, free: 30.67 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.00058/0.366, allocations: 0.5004 MB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3661, allocations: 9.875 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3661, allocations: 41.09 kB / 0.5711 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.3662, allocations: 22.5 kB / 0.5712 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3664, allocations: 259.2 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3664, allocations: 1.688 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3664, allocations: 1.562 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3666, allocations: 82.91 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3667, allocations: 0 / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3667, allocations: 2.188 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3667, allocations: 1.125 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3669, allocations: 83.41 kB / 0.5716 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.3674, allocations: 398.5 kB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3676, allocations: 89.33 kB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3677, allocations: 51.81 kB / 0.5721 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.3677, allocations: 18.05 kB / 0.5721 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.3678, allocations: 33.58 kB / 0.5721 GB, free: 29.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3678, allocations: 3.938 kB / 0.5721 GB, free: 29.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004324/0.3682, allocations: 182.9 kB / 0.5723 GB, free: 29.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3682, allocations: 51.97 kB / 0.5724 GB, free: 29.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.3686, allocations: 360 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.3686, allocations: 27.17 kB / 0.5727 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.3687, allocations: 130.7 kB / 0.5729 GB, free: 29.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.3687, allocations: 11.14 kB / 0.5729 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3687, allocations: 30.14 kB / 0.5729 GB, free: 29.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.3688, allocations: 337.8 kB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.369, allocations: 95.64 kB / 0.5733 GB, free: 28.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3692, allocations: 95.98 kB / 0.5734 GB, free: 28.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.3695, allocations: 213.5 kB / 0.5736 GB, free: 28.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3695, allocations: 0 / 0.5736 GB, free: 28.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003683/0.3699, allocations: 254.7 kB / 0.5738 GB, free: 28.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3699, allocations: 6.562 kB / 0.5739 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3699, allocations: 0 / 0.5739 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3699, allocations: 1.672 kB / 0.5739 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.37, allocations: 13.45 kB / 0.5739 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3701, allocations: 0.7188 kB / 0.5739 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.3701, allocations: 21.47 kB / 0.5739 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3701, allocations: 1.344 kB / 0.5739 GB, free: 28.55 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 (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 0.0001131/0.3703, allocations: 144.3 kB / 0.574 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3703, allocations: 20.22 kB / 0.574 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.3706, allocations: 146.1 kB / 0.5742 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3706, allocations: 0.7812 kB / 0.5742 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3706, allocations: 0 / 0.5742 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3707, allocations: 0.7969 kB / 0.5742 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3709, allocations: 247.8 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3709, allocations: 4.844 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.371, allocations: 15.36 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.371, allocations: 0 / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.371, allocations: 1.125 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.371, allocations: 0.75 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.371, allocations: 0.5 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3713, allocations: 234 kB / 0.5747 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3714, allocations: 102.1 kB / 0.5748 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3714, allocations: 5.406 kB / 0.5748 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.3715, allocations: 9.344 kB / 0.5748 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3716, allocations: 7.625 kB / 0.5748 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3716, allocations: 1.219 kB / 0.5748 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.3719, allocations: 251.8 kB / 0.575 GB, free: 27.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3719, allocations: 0 / 0.575 GB, free: 27.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.3723, allocations: 62.22 kB / 0.5751 GB, free: 27.78 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.0006411/0.3729, allocations: 0.8236 MB / 0.5759 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.3733, allocations: 159.9 kB / 0.576 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3733, allocations: 1.25 kB / 0.576 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3734, allocations: 47.36 kB / 0.5761 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3737, allocations: 10.17 kB / 0.5761 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3768, allocations: 2.721 MB / 0.5788 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.377, allocations: 0.7376 MB / 0.5795 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.377, allocations: 15.73 kB / 0.5795 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.3771, allocations: 49.98 kB / 0.5795 GB, free: 24.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3771, allocations: 0.5312 kB / 0.5795 GB, free: 24.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3986, allocations: 4.244 MB / 0.5837 GB, free: 23.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.506, allocations: 15.25 kB / 0.5837 GB, free: 23.24 MB / 446.1 MB (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)