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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001497/0.001497, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.785 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.002587/0.002587, allocations: 292.2 kB / 312.7 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") [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.003163/0.003163, allocations: 107.9 kB / 0.74 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1979, allocations: 95.37 MB / 0.8332 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001986/0.1999, allocations: 0.6349 MB / 0.8338 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.2004, allocations: 171.6 kB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.2004, allocations: 0 / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2004, allocations: 3.938 kB / 0.834 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.2006, allocations: 11.92 kB / 0.834 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2009, allocations: 75.75 kB / 0.834 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.2009, allocations: 35.91 kB / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.201, allocations: 0 / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.201, allocations: 19.86 kB / 0.8341 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2011, allocations: 19.91 kB / 0.8341 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2011, allocations: 4 kB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.2012, allocations: 43.89 kB / 0.8342 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2013, allocations: 11.92 kB / 0.8342 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2013, allocations: 15.92 kB / 0.8342 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.2015, allocations: 99.66 kB / 0.8343 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2015, allocations: 3.938 kB / 0.8343 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2015, allocations: 0 / 0.8343 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2015, allocations: 0 / 0.8343 GB, free: 6.637 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.0005802/0.2021, allocations: 290.1 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2021, allocations: 13.34 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.2022, allocations: 4.891 kB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2023, allocations: 114.5 kB / 0.8347 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2023, allocations: 4.375 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2023, allocations: 8.375 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2025, allocations: 58.17 kB / 0.8347 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2025, allocations: 8.125 kB / 0.8348 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2026, allocations: 3.938 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2026, allocations: 0 / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2027, allocations: 31.97 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.203, allocations: 192.6 kB / 0.835 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.2032, allocations: 70.59 kB / 0.835 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.2033, allocations: 20.88 kB / 0.8351 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2033, allocations: 11.94 kB / 0.8351 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2033, allocations: 30.56 kB / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2033, allocations: 0 / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02779/0.2311, allocations: 1.609 MB / 0.8367 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2312, allocations: 55.41 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2313, allocations: 117.8 kB / 0.8368 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.2314, allocations: 25.7 kB / 0.8369 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.2315, allocations: 96.03 kB / 0.837 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.2316, allocations: 27.8 kB / 0.837 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.2318, allocations: 21.7 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2319, allocations: 318.8 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.2325, allocations: 148.3 kB / 0.8374 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.233, allocations: 147.8 kB / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.234, allocations: 292.7 kB / 0.8379 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.234, allocations: 4 kB / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001222/0.2352, allocations: 341.5 kB / 0.8382 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2352, allocations: 4 kB / 0.8382 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2352, allocations: 3.938 kB / 0.8382 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2353, allocations: 4 kB / 0.8382 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.2368, allocations: 59.92 kB / 0.8383 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2368, allocations: 0 / 0.8383 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.2382, allocations: 51.94 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.2383, allocations: 8 kB / 0.8383 GB, free: 2.316 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.0001871/0.2385, allocations: 118.4 kB / 0.8384 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.2385, allocations: 3.953 kB / 0.8384 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2387, allocations: 20.38 kB / 0.8385 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2387, allocations: 0 / 0.8385 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2387, allocations: 3.938 kB / 0.8385 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2387, allocations: 3.984 kB / 0.8385 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.2446, allocations: 0.7085 MB / 0.8392 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2446, allocations: 0 / 0.8392 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.2457, allocations: 51.94 kB / 0.8392 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.2457, allocations: 4 kB / 0.8392 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.2458, allocations: 4.062 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2458, allocations: 4 kB / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2458, allocations: 0 / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.2468, allocations: 325.3 kB / 0.8395 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.2468, allocations: 8.375 kB / 0.8395 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.2469, allocations: 3.984 kB / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.248, allocations: 51.89 kB / 0.8396 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.248, allocations: 7.938 kB / 0.8396 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.248, allocations: 3.984 kB / 0.8396 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.2481, allocations: 91.28 kB / 0.8397 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2481, allocations: 0 / 0.8397 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004072/0.2485, allocations: 99.92 kB / 0.8398 GB, free: 0.7383 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.0002431/0.2488, allocations: 111.1 kB / 0.8399 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.2499, allocations: 243.9 kB / 0.8401 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2499, allocations: 3.938 kB / 0.8401 GB, free: 388 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.2503, allocations: 87.95 kB / 0.8402 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2506, allocations: 17.64 kB / 0.8402 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.2534, allocations: 306.7 kB / 0.8405 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.2535, allocations: 67.34 kB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000437/0.254, allocations: 56.12 kB / 0.8406 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.2544, allocations: 11.44 kB / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2544, allocations: 4 kB / 0.8407 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.01735/0.2718, allocations: 9.731 MB / 0.8502 GB, free: 6.016 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.660436237230897] Failed to read output from testmodel.py, exit status != 0: 0.279552461579442 0.29747129 0.09260441300000001 Calling exit ...