Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002482/0.002482, allocations: 286 kB / 312.7 MB, free: 2.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.318/1.318, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 99.05 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1985, allocations: 95.39 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002768/0.2013, allocations: 1.486 MB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2027, allocations: 0.7621 MB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.2028, allocations: 0 / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.203, allocations: 131.8 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.2036, allocations: 186.5 kB / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2037, allocations: 68.08 kB / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2038, allocations: 71.8 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.2039, allocations: 15.92 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.204, allocations: 43.83 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2041, allocations: 91.81 kB / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2041, allocations: 4 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.2046, allocations: 235.6 kB / 0.8357 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.2047, allocations: 107.7 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.2048, allocations: 71.39 kB / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.2052, allocations: 354.6 kB / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2052, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2052, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2052, allocations: 0 / 0.8362 GB, free: 4.672 MB / 0.5762 GB 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.0009018/0.2061, allocations: 0.5507 MB / 0.8367 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2062, allocations: 13.94 kB / 0.8367 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2062, allocations: 34.75 kB / 0.8368 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.2063, allocations: 36.7 kB / 0.8368 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009498/0.2072, allocations: 0.8638 MB / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2072, allocations: 4.359 kB / 0.8376 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2072, allocations: 384 / 0.8376 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2074, allocations: 81.8 kB / 0.8377 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2074, allocations: 0 / 0.8377 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.2075, allocations: 7.938 kB / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.2075, allocations: 7.984 kB / 0.8377 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.2077, allocations: 103.9 kB / 0.8378 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.2084, allocations: 0.5388 MB / 0.8384 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.2086, allocations: 106.5 kB / 0.8385 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2087, allocations: 52.89 kB / 0.8385 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.2088, allocations: 27.98 kB / 0.8385 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2088, allocations: 34.5 kB / 0.8386 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2088, allocations: 0 / 0.8386 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004749/0.2093, allocations: 213.4 kB / 0.8388 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2093, allocations: 51.41 kB / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.2106, allocations: 1.212 MB / 0.84 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2106, allocations: 29.7 kB / 0.84 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2108, allocations: 168.1 kB / 0.8402 GB, free: 388 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2108, allocations: 20.06 kB / 0.8402 GB, free: 368 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2108, allocations: 9.719 kB / 0.8402 GB, free: 352 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.211, allocations: 350.8 kB / 0.8406 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2111, allocations: 51.95 kB / 0.8406 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2112, allocations: 47.97 kB / 0.8407 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.2114, allocations: 112.7 kB / 0.8408 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2114, allocations: 4.062 kB / 0.8408 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002849/0.2117, allocations: 157.4 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2117, allocations: 4 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2118, allocations: 0 / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2118, allocations: 4 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.2119, allocations: 7.984 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2119, allocations: 0 / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.2119, allocations: 11.95 kB / 0.8409 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2119, allocations: 8.016 kB / 0.8409 GB, free: 15.58 MB / 0.5919 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 (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.0001467/0.2121, allocations: 166.4 kB / 0.8411 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2121, allocations: 27.81 kB / 0.8411 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.2125, allocations: 184.1 kB / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2125, allocations: 0 / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2125, allocations: 0 / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2125, allocations: 0 / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.2128, allocations: 252.6 kB / 0.8415 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2128, allocations: 12.03 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.2128, allocations: 4 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2128, allocations: 7.922 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2128, allocations: 4 kB / 0.8416 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2128, allocations: 0 / 0.8416 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2128, allocations: 4 kB / 0.8416 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2132, allocations: 263.1 kB / 0.8418 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2133, allocations: 55.73 kB / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2133, allocations: 4.031 kB / 0.8419 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2134, allocations: 4 kB / 0.8419 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2135, allocations: 11.92 kB / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2135, allocations: 0 / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00101/0.2145, allocations: 0.952 MB / 0.8428 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2145, allocations: 0 / 0.8428 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003643/0.2149, allocations: 71.88 kB / 0.8429 GB, free: 13.5 MB / 0.5919 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 (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.0008629/0.2157, allocations: 0.8603 MB / 0.8437 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.216, allocations: 95.94 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.216, allocations: 4 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2161, allocations: 55.95 kB / 0.8439 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.2165, allocations: 19.84 kB / 0.8439 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.224, allocations: 6.773 MB / 0.8505 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2242, allocations: 170.1 kB / 0.8507 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.595e-05/0.2243, allocations: 42.92 kB / 0.8507 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.2244, allocations: 91.41 kB / 0.8508 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.2244, allocations: 0 / 0.8508 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.2623, allocations: 7.861 MB / 0.8585 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 0 / 0.8585 GB, free: 13.6 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.135736462660134] Failed to read output from testmodel.py, exit status != 0: 11.599761714693159 11.621403891 11.412989465 Calling exit ...