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.001333/0.001333, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001594/0.001594, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.781 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.002389/0.002389, allocations: 300.3 kB / 312.7 MB, free: 2.586 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.178/1.178, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.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: 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.002814/0.002814, allocations: 103.5 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 95.38 MB / 0.8327 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001786/0.1743, allocations: 0.6218 MB / 0.8333 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1762, allocations: 1.383 MB / 0.8346 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.1762, allocations: 4 kB / 0.8346 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.1762, allocations: 0 / 0.8346 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.1763, allocations: 7.938 kB / 0.8347 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.1769, allocations: 184.2 kB / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.177, allocations: 39.97 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.177, allocations: 288 / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.1771, allocations: 31.91 kB / 0.8349 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.1771, allocations: 31.83 kB / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1771, allocations: 4 kB / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.1775, allocations: 207.7 kB / 0.8351 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.1776, allocations: 8 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1776, allocations: 23.86 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1779, allocations: 195.4 kB / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1779, allocations: 0 / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1779, allocations: 0 / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1779, allocations: 0 / 0.8353 GB, free: 5.492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004133/0.1783, allocations: 377.2 kB / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1783, allocations: 13.34 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1784, allocations: 30.75 kB / 0.8357 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1784, allocations: 8.891 kB / 0.8358 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1785, allocations: 112.7 kB / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1785, allocations: 8.359 kB / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1785, allocations: 4.375 kB / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1787, allocations: 131.4 kB / 0.836 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1787, allocations: 3.938 kB / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1787, allocations: 0 / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1787, allocations: 0 / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1788, allocations: 93.66 kB / 0.8361 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.179, allocations: 156.7 kB / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1791, allocations: 100.2 kB / 0.8363 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1792, allocations: 98.58 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.1792, allocations: 7.922 kB / 0.8364 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1793, allocations: 42.44 kB / 0.8365 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1793, allocations: 0 / 0.8365 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0004105/0.1797, allocations: 310.6 kB / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1797, allocations: 85.11 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1799, allocations: 141.8 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1799, allocations: 29.73 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1799, allocations: 96.08 kB / 0.8371 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1799, allocations: 7.891 kB / 0.8371 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.18, allocations: 29.7 kB / 0.8371 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1801, allocations: 322.8 kB / 0.8375 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1803, allocations: 167.3 kB / 0.8376 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1805, allocations: 171.3 kB / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1808, allocations: 289.8 kB / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1808, allocations: 0 / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004102/0.1812, allocations: 396.2 kB / 0.8384 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.1812, allocations: 76.94 kB / 0.8385 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1812, allocations: 4.062 kB / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1812, allocations: 0 / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1812, allocations: 0 / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1813, allocations: 0 / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1814, allocations: 11.95 kB / 0.8385 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1814, allocations: 0 / 0.8385 GB, free: 1.906 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: 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 0.0001157/0.1815, allocations: 148.2 kB / 0.8387 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.1815, allocations: 15.88 kB / 0.8387 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1816, allocations: 8.344 kB / 0.8387 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1816, allocations: 3.938 kB / 0.8387 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1816, allocations: 4 kB / 0.8387 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1816, allocations: 0 / 0.8387 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1817, allocations: 144.7 kB / 0.8388 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1817, allocations: 3.938 kB / 0.8388 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1817, allocations: 0 / 0.8388 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1817, allocations: 0 / 0.8388 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1817, allocations: 4 kB / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1817, allocations: 0 / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1817, allocations: 0 / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.182, allocations: 256.4 kB / 0.8391 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.182, allocations: 15.83 kB / 0.8391 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.182, allocations: 8.016 kB / 0.8391 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.1821, allocations: 4 kB / 0.8391 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.1821, allocations: 8 kB / 0.8391 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1821, allocations: 11.98 kB / 0.8391 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.1822, allocations: 103.2 kB / 0.8392 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1822, allocations: 0 / 0.8392 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002767/0.1825, allocations: 67.92 kB / 0.8393 GB, free: 1.016 MB / 0.5762 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.0007182/0.1832, allocations: 0.842 MB / 0.8401 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.1836, allocations: 427.9 kB / 0.8405 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1836, allocations: 0 / 0.8405 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1838, allocations: 153 kB / 0.8407 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1839, allocations: 10.19 kB / 0.8407 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1863, allocations: 2.442 MB / 0.8431 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.945e-05/0.1863, allocations: 83.31 kB / 0.8431 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.688e-06/0.1863, allocations: 0 / 0.8431 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.1864, allocations: 15.44 kB / 0.8432 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.1864, allocations: 0 / 0.8432 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.2159, allocations: 3.922 MB / 0.847 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.9, allocations: 3.938 kB / 0.847 GB, free: 9.012 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.912126976065338] Failed to read output from testmodel.py, exit status != 0: 10.996899046003819 11.014208365 10.833185093 Calling exit ...