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.001246/0.001246, allocations: 110.2 kB / 19.58 MB, free: 2.34 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.001378/0.001378, allocations: 218.8 kB / 22.87 MB, free: 5.621 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.419/1.419, allocations: 230.5 MB / 256.5 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 285.5 kB / 313.2 MB, free: 2.906 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.197/1.197, allocations: 180.8 MB / 0.5376 GB, free: 12.92 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002906/0.002906, allocations: 101 kB / 0.7406 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1778, allocations: 95.38 MB / 0.8337 GB, free: 7.98 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001731/0.1796, allocations: 0.6416 MB / 0.8344 GB, free: 7.34 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.000454/0.18, allocations: 211.5 kB / 0.8346 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.18, allocations: 0 / 0.8346 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1801, allocations: 3.938 kB / 0.8346 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1802, allocations: 7.922 kB / 0.8346 GB, free: 7.121 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1804, allocations: 75.75 kB / 0.8347 GB, free: 7.047 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.1805, allocations: 27.92 kB / 0.8347 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1805, allocations: 4 kB / 0.8347 GB, free: 7.016 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.1806, allocations: 11.92 kB / 0.8347 GB, free: 7.004 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.1806, allocations: 27.84 kB / 0.8347 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1806, allocations: 4 kB / 0.8347 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1807, allocations: 51.88 kB / 0.8348 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1808, allocations: 8 kB / 0.8348 GB, free: 6.914 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1808, allocations: 15.86 kB / 0.8348 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.181, allocations: 95.66 kB / 0.8349 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.181, allocations: 0 / 0.8349 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.483e-06/0.181, allocations: 0 / 0.8349 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.181, allocations: 3.938 kB / 0.8349 GB, free: 6.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005331/0.1815, allocations: 298.1 kB / 0.8352 GB, free: 6.477 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1815, allocations: 9.344 kB / 0.8352 GB, free: 6.469 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1816, allocations: 4.891 kB / 0.8352 GB, free: 6.465 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1817, allocations: 122.5 kB / 0.8353 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1817, allocations: 4.375 kB / 0.8353 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1817, allocations: 384 / 0.8353 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1819, allocations: 58.22 kB / 0.8354 GB, free: 6.254 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1819, allocations: 4.141 kB / 0.8354 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1819, allocations: 3.938 kB / 0.8354 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1819, allocations: 0 / 0.8354 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.182, allocations: 39.91 kB / 0.8354 GB, free: 6.207 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1823, allocations: 216.1 kB / 0.8356 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1825, allocations: 66.47 kB / 0.8357 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.1826, allocations: 32.92 kB / 0.8357 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1826, allocations: 0 / 0.8357 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1827, allocations: 34.5 kB / 0.8357 GB, free: 5.801 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1827, allocations: 0 / 0.8357 GB, free: 5.801 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8): time 0.02783/0.2105, allocations: 1.609 MB / 0.8373 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2105, allocations: 55.41 kB / 0.8374 GB, free: 4.117 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2107, allocations: 117.8 kB / 0.8375 GB, free: 3.992 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.2107, allocations: 25.7 kB / 0.8375 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.2108, allocations: 99.92 kB / 0.8376 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.2109, allocations: 23.81 kB / 0.8376 GB, free: 3.836 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.2111, allocations: 21.7 kB / 0.8376 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2112, allocations: 330.8 kB / 0.838 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.2117, allocations: 135.9 kB / 0.8381 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.2122, allocations: 140.3 kB / 0.8382 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2133, allocations: 308.8 kB / 0.8385 GB, free: 2.902 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2133, allocations: 0 / 0.8385 GB, free: 2.902 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001268/0.2146, allocations: 337.5 kB / 0.8388 GB, free: 2.566 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2146, allocations: 4 kB / 0.8388 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2146, allocations: 0 / 0.8388 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2146, allocations: 0 / 0.8388 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.2163, allocations: 67.92 kB / 0.8389 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2163, allocations: 0 / 0.8389 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.2177, allocations: 43.95 kB / 0.839 GB, free: 2.453 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.2177, allocations: 7.984 kB / 0.839 GB, free: 2.445 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: 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.0001977/0.2179, allocations: 114.4 kB / 0.8391 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.218, allocations: 7.953 kB / 0.8391 GB, free: 2.316 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.2181, allocations: 16.38 kB / 0.8391 GB, free: 2.297 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2181, allocations: 4 kB / 0.8391 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2181, allocations: 4 kB / 0.8391 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2181, allocations: 0 / 0.8391 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006021/0.2242, allocations: 0.8206 MB / 0.8399 GB, free: 1.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2242, allocations: 0 / 0.8399 GB, free: 1.41 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.2254, allocations: 52.36 kB / 0.84 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2254, allocations: 0 / 0.84 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.2254, allocations: 11.98 kB / 0.84 GB, free: 1.348 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2254, allocations: 3.938 kB / 0.84 GB, free: 1.344 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2254, allocations: 4 kB / 0.84 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.2264, allocations: 321.1 kB / 0.8403 GB, free: 1.004 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.2264, allocations: 15.94 kB / 0.8403 GB, free: 0.9883 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.2265, allocations: 4 kB / 0.8403 GB, free: 0.9844 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.2276, allocations: 43.89 kB / 0.8403 GB, free: 0.9414 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.2276, allocations: 7.984 kB / 0.8403 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2276, allocations: 7.938 kB / 0.8404 GB, free: 0.9258 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.2277, allocations: 99.3 kB / 0.8404 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2277, allocations: 0 / 0.8404 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004405/0.2282, allocations: 91.94 kB / 0.8405 GB, free: 0.7383 MB / 0.5763 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.0002246/0.2284, allocations: 115.1 kB / 0.8406 GB, free: 0.6172 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.2294, allocations: 239.9 kB / 0.8409 GB, free: 392 kB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2294, allocations: 0 / 0.8409 GB, free: 392 kB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.2299, allocations: 95.88 kB / 0.841 GB, free: 296 kB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2302, allocations: 10.16 kB / 0.841 GB, free: 288 kB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.2331, allocations: 305.4 kB / 0.8413 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.2332, allocations: 71.33 kB / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004333/0.2336, allocations: 52 kB / 0.8414 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.2341, allocations: 15.42 kB / 0.8414 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/0.2341, allocations: 0 / 0.8414 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01504/0.2492, allocations: 8.867 MB / 0.8501 GB, free: 6.887 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.33035004400881] Failed to read output from testmodel.py, exit status != 0: 0.2564349899912486 0.27182012799999994 0.08778042900000001 Calling exit ...