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.001774/0.001774, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00263/0.00263, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002509/0.002509, allocations: 300 kB / 313.5 MB, free: 2.605 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.257/1.257, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",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.002849/0.002849, allocations: 103.2 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1978, allocations: 95.38 MB / 0.8335 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002064/0.1999, allocations: 0.6406 MB / 0.8341 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.2004, allocations: 175.6 kB / 0.8342 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.2004, allocations: 0 / 0.8342 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.2004, allocations: 3.938 kB / 0.8342 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2006, allocations: 15.92 kB / 0.8343 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.2009, allocations: 75.75 kB / 0.8343 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.2009, allocations: 27.92 kB / 0.8344 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.201, allocations: 0 / 0.8344 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.201, allocations: 23.91 kB / 0.8344 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2011, allocations: 15.92 kB / 0.8344 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2011, allocations: 4 kB / 0.8344 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.2012, allocations: 51.88 kB / 0.8345 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2013, allocations: 7.938 kB / 0.8345 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2013, allocations: 15.91 kB / 0.8345 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.2015, allocations: 95.94 kB / 0.8346 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2015, allocations: 4 kB / 0.8346 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2015, allocations: 0 / 0.8346 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2015, allocations: 0 / 0.8346 GB, free: 7.121 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.0005488/0.202, allocations: 290.1 kB / 0.8348 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2021, allocations: 13.34 kB / 0.8349 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.2021, allocations: 192 / 0.8349 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2021, allocations: 34.75 kB / 0.8349 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2022, allocations: 8.891 kB / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2023, allocations: 114.4 kB / 0.835 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2023, allocations: 4.375 kB / 0.835 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2023, allocations: 12.36 kB / 0.835 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2025, allocations: 53.98 kB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2025, allocations: 3.953 kB / 0.8351 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2025, allocations: 0 / 0.8351 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2025, allocations: 4 kB / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.2027, allocations: 35.91 kB / 0.8351 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2029, allocations: 216 kB / 0.8353 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2032, allocations: 70.47 kB / 0.8354 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.2032, allocations: 28.94 kB / 0.8354 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2032, allocations: 0 / 0.8354 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2033, allocations: 34.56 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2033, allocations: 0 / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02755/0.2308, allocations: 1.613 MB / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.2309, allocations: 51.41 kB / 0.8371 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.231, allocations: 121.8 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.2311, allocations: 25.7 kB / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.2312, allocations: 96.06 kB / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.2312, allocations: 23.8 kB / 0.8373 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.2315, allocations: 29.64 kB / 0.8374 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2316, allocations: 318.8 kB / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.2321, allocations: 143.9 kB / 0.8378 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.2326, allocations: 139.9 kB / 0.8379 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.2336, allocations: 292.8 kB / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2336, allocations: 4 kB / 0.8382 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001214/0.2348, allocations: 337.5 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2348, allocations: 4 kB / 0.8385 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2348, allocations: 0 / 0.8385 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2348, allocations: 4.641 kB / 0.8385 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.2364, allocations: 59.94 kB / 0.8386 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2364, allocations: 4 kB / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.2376, allocations: 51.94 kB / 0.8387 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.2377, allocations: 4.422 kB / 0.8387 GB, free: 2.73 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.0001842/0.2379, allocations: 118.4 kB / 0.8388 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.238, allocations: 7.953 kB / 0.8388 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.2381, allocations: 24.31 kB / 0.8388 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2381, allocations: 3.984 kB / 0.8388 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2381, allocations: 3.984 kB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2381, allocations: 0 / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/0.2434, allocations: 0.7311 MB / 0.8395 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2434, allocations: 0 / 0.8395 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.2445, allocations: 59.88 kB / 0.8396 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2445, allocations: 8.062 kB / 0.8396 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.2446, allocations: 3.938 kB / 0.8396 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.2446, allocations: 4 kB / 0.8396 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2446, allocations: 0 / 0.8396 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.2455, allocations: 321.1 kB / 0.8399 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.2456, allocations: 11.94 kB / 0.8399 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.2456, allocations: 7.938 kB / 0.8399 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.2466, allocations: 44.02 kB / 0.84 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2466, allocations: 11.92 kB / 0.84 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.2467, allocations: 4 kB / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.2468, allocations: 95.27 kB / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2468, allocations: 0 / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004216/0.2472, allocations: 91.94 kB / 0.8402 GB, free: 1.102 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.001364/0.2485, allocations: 0.874 MB / 0.841 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009698/0.2495, allocations: 231.9 kB / 0.8412 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2495, allocations: 0 / 0.8412 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.2499, allocations: 99.94 kB / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2502, allocations: 4 kB / 0.8413 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/0.2568, allocations: 2.681 MB / 0.844 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.129e-05/0.2569, allocations: 83.2 kB / 0.844 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.2573, allocations: 52.22 kB / 0.8441 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.2578, allocations: 19.42 kB / 0.8441 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.2578, allocations: 0 / 0.8441 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.2906, allocations: 10.45 MB / 0.8543 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.65, allocations: 4.719 kB / 0.8543 GB, free: 2.617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 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: 16.04120557999704] Failed to read output from testmodel.py, exit status != 0: 11.808028117986396 11.829589079 11.624125508 Calling exit ...