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.0007147/0.0007147, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007048/0.0007048, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8601/0.8601, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.001388/0.001388, allocations: 234 kB / 259.4 MB, free: 13.05 MB / 250.7 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 0.6759/0.6759, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.14e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001226/0.001247, allocations: 0.6395 MB / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.001549, allocations: 175.9 kB / 0.6471 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.001577, allocations: 0 / 0.6471 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.001593, allocations: 3.938 kB / 0.6471 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.00175, allocations: 7.875 kB / 0.6472 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.001927, allocations: 71.75 kB / 0.6472 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.001989, allocations: 31.91 kB / 0.6473 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.002035, allocations: 4 kB / 0.6473 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.002083, allocations: 19.92 kB / 0.6473 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.002142, allocations: 15.97 kB / 0.6473 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.002158, allocations: 4 kB / 0.6473 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.002249, allocations: 51.81 kB / 0.6473 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.002266, allocations: 7.938 kB / 0.6473 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.002284, allocations: 11.98 kB / 0.6474 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.002412, allocations: 91.77 kB / 0.6474 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002414, allocations: 0 / 0.6474 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002415, allocations: 3.938 kB / 0.6475 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.002419, allocations: 0 / 0.6475 GB, free: 0.707 MB / 0.5573 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.0003775/0.002796, allocations: 294.1 kB / 0.6477 GB, free: 396 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.002839, allocations: 13.94 kB / 0.6477 GB, free: 384 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.002867, allocations: 34.75 kB / 0.6478 GB, free: 340 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.002889, allocations: 4.891 kB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.00298, allocations: 121.7 kB / 0.6479 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002989, allocations: 384 / 0.6479 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.003006, allocations: 8.312 kB / 0.6479 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.003108, allocations: 54.23 kB / 0.648 GB, free: 120 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.003117, allocations: 192 / 0.648 GB, free: 120 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003125, allocations: 384 / 0.648 GB, free: 120 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00313, allocations: 8.125 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.003209, allocations: 43.89 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2221/0.2253, allocations: 211.9 kB / 0.6482 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.2254, allocations: 65.64 kB / 0.6483 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.2255, allocations: 22.89 kB / 0.6483 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2255, allocations: 2.938 kB / 0.6483 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.2255, allocations: 35.66 kB / 0.6483 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2255, allocations: 0 / 0.6483 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.01203/0.2375, allocations: 1.61 MB / 0.6499 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.2376, allocations: 56.14 kB / 0.65 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.2376, allocations: 122.1 kB / 0.6501 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2377, allocations: 27.77 kB / 0.6501 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2377, allocations: 90.8 kB / 0.6502 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.2377, allocations: 27.08 kB / 0.6502 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2379, allocations: 24.84 kB / 0.6502 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.128e-05/0.2379, allocations: 316.4 kB / 0.6505 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.2382, allocations: 141.6 kB / 0.6507 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.2385, allocations: 145.3 kB / 0.6508 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.2391, allocations: 301.7 kB / 0.6511 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2391, allocations: 2.078 kB / 0.6511 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00072/0.2399, allocations: 336.1 kB / 0.6514 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2399, allocations: 11.34 kB / 0.6514 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2399, allocations: 0 / 0.6514 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2399, allocations: 0.7031 kB / 0.6514 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.2405, allocations: 61.19 kB / 0.6515 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2405, allocations: 1.219 kB / 0.6515 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.241, allocations: 52.83 kB / 0.6515 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2411, allocations: 5.094 kB / 0.6515 GB, free: 56.09 MB / 0.5573 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 9.751e-05/0.2412, allocations: 119.8 kB / 0.6517 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.2412, allocations: 4.109 kB / 0.6517 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.2413, allocations: 20.7 kB / 0.6517 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2413, allocations: 1.688 kB / 0.6517 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2413, allocations: 0 / 0.6517 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2413, allocations: 1.172 kB / 0.6517 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.2438, allocations: 0.7367 MB / 0.6524 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2438, allocations: 1.125 kB / 0.6524 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.2443, allocations: 58.59 kB / 0.6525 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2443, allocations: 1.781 kB / 0.6525 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2443, allocations: 3 kB / 0.6525 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2443, allocations: 1.688 kB / 0.6525 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2443, allocations: 7.406 kB / 0.6525 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.2448, allocations: 327 kB / 0.6528 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.2449, allocations: 7.203 kB / 0.6528 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.2449, allocations: 1.188 kB / 0.6528 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.2453, allocations: 44.92 kB / 0.6528 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2453, allocations: 9.141 kB / 0.6529 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2453, allocations: 4.672 kB / 0.6529 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.2453, allocations: 96.55 kB / 0.6529 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2453, allocations: 0 / 0.6529 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002486/0.2456, allocations: 98.67 kB / 0.653 GB, free: 55.34 MB / 0.5573 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.0007244/0.2463, allocations: 0.8582 MB / 0.6539 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.2469, allocations: 244.8 kB / 0.6541 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2469, allocations: 1.906 kB / 0.6541 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2472, allocations: 94.92 kB / 0.6542 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2474, allocations: 7.188 kB / 0.6542 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.2507, allocations: 2.687 MB / 0.6568 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.2507, allocations: 70.75 kB / 0.6569 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.2509, allocations: 52.86 kB / 0.657 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2512, allocations: 29.45 kB / 0.657 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2512, allocations: 0 / 0.657 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.2716, allocations: 11.48 MB / 0.6682 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.01, allocations: 2.234 kB / 0.6682 GB, free: 51.21 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.63452044595033] Failed to read output from testmodel.py, exit status != 0: 7.088422731496394 7.096185047 7.092115587 Calling exit ...