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.001289/0.001289, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001496/0.001496, allocations: 220 kB / 22.24 MB, free: 5.109 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.824 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.002409/0.002409, allocations: 287.5 kB / 312.7 MB, free: 2.758 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.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002808/0.002808, allocations: 105.1 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1788, allocations: 95.38 MB / 0.8327 GB, free: 8.309 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001787/0.1806, allocations: 0.631 MB / 0.8333 GB, free: 7.676 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1824, allocations: 1.375 MB / 0.8346 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.1825, allocations: 0 / 0.8346 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.1825, allocations: 7.922 kB / 0.8347 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.1825, allocations: 3.984 kB / 0.8347 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.1831, allocations: 185 kB / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1832, allocations: 47.89 kB / 0.8349 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.1833, allocations: 4.266 kB / 0.8349 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.1833, allocations: 19.92 kB / 0.8349 GB, free: 6.023 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.1834, allocations: 23.97 kB / 0.8349 GB, free: 6 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1834, allocations: 11.88 kB / 0.8349 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.1838, allocations: 207.7 kB / 0.8351 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.1838, allocations: 19.98 kB / 0.8352 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.1838, allocations: 19.86 kB / 0.8352 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1841, allocations: 187.4 kB / 0.8353 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1841, allocations: 0 / 0.8353 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1841, allocations: 0 / 0.8353 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1841, allocations: 0 / 0.8353 GB, free: 5.562 MB / 0.5763 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.0004171/0.1845, allocations: 373.2 kB / 0.8357 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1846, allocations: 13.33 kB / 0.8357 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.1846, allocations: 34.75 kB / 0.8358 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.1846, allocations: 12.83 kB / 0.8358 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1847, allocations: 120.8 kB / 0.8359 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.1847, allocations: 4.375 kB / 0.8359 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1848, allocations: 4.375 kB / 0.8359 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.185, allocations: 123.5 kB / 0.836 GB, free: 4.809 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.185, allocations: 0 / 0.836 GB, free: 4.809 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.185, allocations: 4 kB / 0.836 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.185, allocations: 0 / 0.836 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1851, allocations: 93.64 kB / 0.8361 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1853, allocations: 144.7 kB / 0.8362 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1854, allocations: 116.1 kB / 0.8363 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1855, allocations: 94.59 kB / 0.8364 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1855, allocations: 4 kB / 0.8364 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1855, allocations: 38.5 kB / 0.8365 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1855, allocations: 0 / 0.8365 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4): time 0.0004297/0.186, allocations: 314.6 kB / 0.8368 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.186, allocations: 81.05 kB / 0.8369 GB, free: 3.812 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1862, allocations: 141.8 kB / 0.837 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1862, allocations: 29.7 kB / 0.837 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.1862, allocations: 92.08 kB / 0.8371 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1863, allocations: 11.89 kB / 0.8371 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.1863, allocations: 29.7 kB / 0.8371 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1864, allocations: 318.8 kB / 0.8374 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1866, allocations: 171.4 kB / 0.8376 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1868, allocations: 167.3 kB / 0.8378 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1871, allocations: 285.8 kB / 0.838 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1871, allocations: 3.984 kB / 0.838 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000406/0.1875, allocations: 400.1 kB / 0.8384 GB, free: 2.086 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.1875, allocations: 71.39 kB / 0.8385 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1875, allocations: 0 / 0.8385 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1876, allocations: 4 kB / 0.8385 GB, free: 2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1876, allocations: 3.938 kB / 0.8385 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1876, allocations: 0 / 0.8385 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1877, allocations: 16 kB / 0.8385 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1877, allocations: 4 kB / 0.8385 GB, free: 1.977 MB / 0.5763 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.0001176/0.1878, allocations: 148.2 kB / 0.8387 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1878, allocations: 11.89 kB / 0.8387 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.1879, allocations: 12.34 kB / 0.8387 GB, free: 1.781 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1879, allocations: 4 kB / 0.8387 GB, free: 1.777 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1879, allocations: 0 / 0.8387 GB, free: 1.777 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1879, allocations: 3.984 kB / 0.8387 GB, free: 1.773 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.188, allocations: 132.8 kB / 0.8388 GB, free: 1.602 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.188, allocations: 3.938 kB / 0.8388 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.188, allocations: 4 kB / 0.8388 GB, free: 1.594 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.188, allocations: 0 / 0.8388 GB, free: 1.594 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.188, allocations: 11.98 kB / 0.8388 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.188, allocations: 3.938 kB / 0.8388 GB, free: 1.578 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.188, allocations: 144 / 0.8388 GB, free: 1.578 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1883, allocations: 260.3 kB / 0.8391 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1883, allocations: 15.83 kB / 0.8391 GB, free: 1.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1883, allocations: 0 / 0.8391 GB, free: 1.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.1884, allocations: 4 kB / 0.8391 GB, free: 1.273 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1884, allocations: 11.98 kB / 0.8391 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1884, allocations: 4 kB / 0.8391 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 7.264e-05/0.1885, allocations: 113.2 kB / 0.8392 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1885, allocations: 0 / 0.8392 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002647/0.1888, allocations: 59.94 kB / 0.8393 GB, free: 1.09 MB / 0.5763 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.0007449/0.1895, allocations: 0.8381 MB / 0.8401 GB, free: 216 kB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.19, allocations: 427.7 kB / 0.8405 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.19, allocations: 0 / 0.8405 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1901, allocations: 157 kB / 0.8407 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1903, allocations: 4 kB / 0.8407 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.1926, allocations: 2.442 MB / 0.8431 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.1927, allocations: 79.33 kB / 0.8431 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.42e-06/0.1927, allocations: 0 / 0.8431 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.1927, allocations: 19.42 kB / 0.8432 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1927, allocations: 192 / 0.8432 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.2221, allocations: 3.92 MB / 0.847 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.9, allocations: 10.09 kB / 0.847 GB, free: 9.094 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.875572293996811] Failed to read output from testmodel.py, exit status != 0: 11.008417712058872 11.034245559 10.845595535 Calling exit ...