Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.001384/0.001384, 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.001481/0.001481, allocations: 210.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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.801 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.00257/0.00257, allocations: 292.9 kB / 312.7 MB, free: 2.602 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.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] 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.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",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.002912/0.002912, allocations: 101.5 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1797, allocations: 95.38 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001877/0.1816, allocations: 0.6336 MB / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004544/0.182, allocations: 179.6 kB / 0.8335 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.182, allocations: 0 / 0.8335 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.1821, allocations: 3.938 kB / 0.8335 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1822, allocations: 7.938 kB / 0.8335 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1825, allocations: 79.73 kB / 0.8336 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.1825, allocations: 19.98 kB / 0.8336 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.1826, allocations: 4 kB / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.1826, allocations: 19.91 kB / 0.8336 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1827, allocations: 23.86 kB / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1827, allocations: 4 kB / 0.8336 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1828, allocations: 47.88 kB / 0.8337 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1828, allocations: 7.938 kB / 0.8337 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1828, allocations: 19.91 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.183, allocations: 87.95 kB / 0.8338 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.183, allocations: 0 / 0.8338 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.183, allocations: 4 kB / 0.8338 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.183, allocations: 0 / 0.8338 GB, free: 7.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005247/0.1836, allocations: 294.1 kB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1836, allocations: 13.94 kB / 0.8341 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.1836, allocations: 34.75 kB / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.1837, allocations: 8.891 kB / 0.8341 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1838, allocations: 114.5 kB / 0.8342 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1838, allocations: 4.375 kB / 0.8342 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1838, allocations: 384 / 0.8342 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.184, allocations: 66.16 kB / 0.8343 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.184, allocations: 7.891 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.184, allocations: 0 / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.184, allocations: 3.984 kB / 0.8343 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1841, allocations: 35.97 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.1844, allocations: 224 kB / 0.8346 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1846, allocations: 66.47 kB / 0.8346 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.1847, allocations: 24.88 kB / 0.8347 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1847, allocations: 4 kB / 0.8347 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1847, allocations: 30.56 kB / 0.8347 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1847, allocations: 4 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02604/0.2108, allocations: 1.605 MB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.2108, allocations: 55.41 kB / 0.8363 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.211, allocations: 117.8 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.211, allocations: 29.7 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.2111, allocations: 88.12 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.2112, allocations: 31.8 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.2114, allocations: 25.7 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2115, allocations: 318.8 kB / 0.8369 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.212, allocations: 143.9 kB / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.2124, allocations: 143.9 kB / 0.8372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.2134, allocations: 292.8 kB / 0.8374 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2134, allocations: 0.5625 kB / 0.8374 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001165/0.2146, allocations: 341.4 kB / 0.8378 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2146, allocations: 4 kB / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2146, allocations: 8 kB / 0.8378 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2146, allocations: 0 / 0.8378 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.2161, allocations: 59.92 kB / 0.8378 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2161, allocations: 4 kB / 0.8378 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.2175, allocations: 43.94 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.2175, allocations: 8 kB / 0.8379 GB, free: 2.738 MB / 0.5762 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 (9): * Single equations (assignments): 9 * 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.0001813/0.2177, allocations: 118.4 kB / 0.838 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.2178, allocations: 3.953 kB / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2179, allocations: 24.31 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2179, allocations: 4 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2179, allocations: 0 / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2179, allocations: 3.984 kB / 0.838 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.2236, allocations: 0.735 MB / 0.8388 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2236, allocations: 7.938 kB / 0.8388 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.2247, allocations: 51.94 kB / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2247, allocations: 0 / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.2248, allocations: 11.94 kB / 0.8388 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2248, allocations: 0 / 0.8388 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2248, allocations: 3.938 kB / 0.8388 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.2257, allocations: 317.2 kB / 0.8391 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.2257, allocations: 11.94 kB / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.2258, allocations: 11.94 kB / 0.8392 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.2268, allocations: 35.95 kB / 0.8392 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2268, allocations: 7.984 kB / 0.8392 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.2269, allocations: 4.422 kB / 0.8392 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.773e-05/0.2269, allocations: 95.27 kB / 0.8393 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2269, allocations: 0 / 0.8393 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003971/0.2273, allocations: 95.94 kB / 0.8394 GB, free: 1.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001365/0.2287, allocations: 0.8666 MB / 0.8402 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009815/0.2297, allocations: 247.8 kB / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2297, allocations: 0 / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.2301, allocations: 95.88 kB / 0.8406 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2304, allocations: 4 kB / 0.8406 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.2371, allocations: 2.686 MB / 0.8432 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.2371, allocations: 67.34 kB / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.2376, allocations: 51.98 kB / 0.8433 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.238, allocations: 19.42 kB / 0.8433 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.238, allocations: 0 / 0.8433 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/0.2797, allocations: 11.31 MB / 0.8544 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.48, allocations: 13.92 kB / 0.8544 GB, free: 1.719 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.673239078838378] Failed to read output from testmodel.py, exit status != 0: 11.589360678102821 11.617475254 11.429509203 Calling exit ...