Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.0007289/0.0007289, 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.0007733/0.0007733, 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.8704/0.8704, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.001416/0.001416, allocations: 237 kB / 259.4 MB, free: 13.04 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.6583/0.6583, allocations: 138.4 MB / 454.3 MB, free: 30.07 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.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",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.836 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.284e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001371/0.001394, allocations: 0.6124 MB / 0.6469 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2518/0.2532, allocations: 1.388 MB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.2532, allocations: 0 / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.19e-05/0.2533, allocations: 2.281 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.2533, allocations: 7.844 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.254, allocations: 181.2 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2541, allocations: 48.56 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.2542, allocations: 2.641 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.2542, allocations: 25.44 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.2543, allocations: 22.5 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.2543, allocations: 6.031 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.2546, allocations: 211.1 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.2547, allocations: 14.67 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2547, allocations: 15.3 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.255, allocations: 233.6 kB / 0.649 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.255, allocations: 0.625 kB / 0.649 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.255, allocations: 0 / 0.649 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.255, allocations: 5.062 kB / 0.649 GB, free: 55.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000349/0.2554, allocations: 369.8 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2554, allocations: 9.719 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.2554, allocations: 32.36 kB / 0.6494 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.2555, allocations: 8.422 kB / 0.6494 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.2555, allocations: 115.8 kB / 0.6496 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2556, allocations: 3.031 kB / 0.6496 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2556, allocations: 4.281 kB / 0.6496 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2558, allocations: 124.1 kB / 0.6497 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2558, allocations: 0.7812 kB / 0.6497 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2558, allocations: 10 kB / 0.6497 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2558, allocations: 1.531 kB / 0.6497 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.2559, allocations: 90.47 kB / 0.6498 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.256, allocations: 142.7 kB / 0.6499 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2561, allocations: 107.5 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.2562, allocations: 94.89 kB / 0.6501 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2562, allocations: 2 kB / 0.6501 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2562, allocations: 36.69 kB / 0.6501 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.2562, allocations: 0 / 0.6501 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0003536/0.2566, allocations: 319.3 kB / 0.6504 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2566, allocations: 85.94 kB / 0.6505 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.2567, allocations: 147.9 kB / 0.6507 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.2567, allocations: 27.77 kB / 0.6507 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.2567, allocations: 91.19 kB / 0.6508 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2568, allocations: 21.94 kB / 0.6508 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.2568, allocations: 28.5 kB / 0.6508 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.2568, allocations: 320.2 kB / 0.6511 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.257, allocations: 168.3 kB / 0.6513 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2571, allocations: 168.9 kB / 0.6515 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2573, allocations: 287.6 kB / 0.6517 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2573, allocations: 0 / 0.6517 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002607/0.2575, allocations: 388 kB / 0.6521 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.2576, allocations: 73.25 kB / 0.6522 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2576, allocations: 3.938 kB / 0.6522 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2576, allocations: 0 / 0.6522 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.2576, allocations: 5.438 kB / 0.6522 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2576, allocations: 0 / 0.6522 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.2578, allocations: 12.67 kB / 0.6522 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2578, allocations: 5.875 kB / 0.6522 GB, free: 53.7 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 6.323e-05/0.2578, allocations: 150 kB / 0.6523 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.2578, allocations: 9.266 kB / 0.6524 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.2579, allocations: 13 kB / 0.6524 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2579, allocations: 2.344 kB / 0.6524 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2579, allocations: 2.469 kB / 0.6524 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2579, allocations: 0 / 0.6524 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.391e-05/0.2579, allocations: 140.6 kB / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2579, allocations: 2.188 kB / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.2579, allocations: 2.359 kB / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2579, allocations: 0 / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2579, allocations: 5.531 kB / 0.6525 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2579, allocations: 3.031 kB / 0.6525 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2579, allocations: 1.562 kB / 0.6525 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.2581, allocations: 258.9 kB / 0.6528 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.2581, allocations: 9.391 kB / 0.6528 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2582, allocations: 6.453 kB / 0.6528 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.2582, allocations: 4.734 kB / 0.6528 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2582, allocations: 10.44 kB / 0.6528 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2583, allocations: 7.609 kB / 0.6528 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.2583, allocations: 108.5 kB / 0.6529 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2583, allocations: 2.562 kB / 0.6529 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002926/0.2586, allocations: 62.34 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004466/0.259, allocations: 0.8536 MB / 0.6538 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.2593, allocations: 421.5 kB / 0.6542 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2593, allocations: 0 / 0.6542 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.2594, allocations: 156.4 kB / 0.6544 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2595, allocations: 6.703 kB / 0.6544 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.261, allocations: 2.457 MB / 0.6568 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.261, allocations: 76.31 kB / 0.6568 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.281e-06/0.2611, allocations: 3.938 kB / 0.6568 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.2611, allocations: 24.38 kB / 0.6569 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.2611, allocations: 0 / 0.6569 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2776, allocations: 4.057 MB / 0.6608 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.411/6.689, allocations: 7.703 kB / 0.6608 GB, free: 49.72 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.3153261737898] Failed to read output from testmodel.py, exit status != 0: 6.76570331864059 6.772661462 6.516026606 Calling exit ...