Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001523/0.001523, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001632/0.001632, allocations: 212.4 kB / 22.99 MB, free: 4.945 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002438/0.002438, allocations: 300.5 kB / 313.5 MB, free: 2.609 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.177/1.177, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [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.002886/0.002886, allocations: 99.12 kB / 0.7407 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.171, allocations: 95.39 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.003311/0.1743, allocations: 1.497 MB / 0.8353 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.1747, allocations: 116.5 kB / 0.8354 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.1747, allocations: 0 / 0.8354 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.162e-05/0.1748, allocations: 3.938 kB / 0.8355 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.1749, allocations: 11.88 kB / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1751, allocations: 19.97 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1752, allocations: 47.8 kB / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1753, allocations: 7.984 kB / 0.8355 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.1754, allocations: 19.92 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.1754, allocations: 15.92 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1755, allocations: 11.98 kB / 0.8356 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.1755, allocations: 19.98 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.1756, allocations: 15.92 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1756, allocations: 15.94 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1758, allocations: 59.73 kB / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1758, allocations: 0 / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1758, allocations: 0 / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.1758, allocations: 0 / 0.8357 GB, free: 5.965 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.0005676/0.1764, allocations: 302 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1764, allocations: 17.28 kB / 0.836 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1765, allocations: 12.88 kB / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1766, allocations: 120.5 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1766, allocations: 8.375 kB / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1766, allocations: 384 / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1768, allocations: 70.22 kB / 0.8362 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1769, allocations: 192 / 0.8362 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1769, allocations: 11.92 kB / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1769, allocations: 0 / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.1772, allocations: 75.92 kB / 0.8363 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1775, allocations: 228.5 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1777, allocations: 62.53 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1779, allocations: 40.86 kB / 0.8366 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.178, allocations: 43.88 kB / 0.8366 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1781, allocations: 34.5 kB / 0.8367 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1781, allocations: 4 kB / 0.8367 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005321/0.1786, allocations: 145.5 kB / 0.8368 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1786, allocations: 59.39 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1788, allocations: 121.8 kB / 0.837 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1788, allocations: 25.7 kB / 0.837 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1788, allocations: 96.08 kB / 0.8371 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1788, allocations: 11.89 kB / 0.8371 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1789, allocations: 13.72 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.179, allocations: 318.8 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1792, allocations: 39.97 kB / 0.8375 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1793, allocations: 35.95 kB / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1796, allocations: 80.78 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1796, allocations: 3.938 kB / 0.8376 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.1799, allocations: 121.4 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1799, allocations: 4 kB / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1799, allocations: 0 / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1799, allocations: 4 kB / 0.8377 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.18, allocations: 15.98 kB / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.18, allocations: 0 / 0.8377 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.1801, allocations: 11.98 kB / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1801, allocations: 336 / 0.8377 GB, free: 3.695 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 (3): * Single equations (assignments): 3 * 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 8.678e-05/0.1802, allocations: 122.5 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1802, allocations: 11.89 kB / 0.8379 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.1806, allocations: 121.5 kB / 0.838 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1806, allocations: 0 / 0.838 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1806, allocations: 0 / 0.838 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1806, allocations: 3.984 kB / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1807, allocations: 121.3 kB / 0.8381 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1807, allocations: 4 kB / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.1808, allocations: 19.92 kB / 0.8381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1808, allocations: 0 / 0.8381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1808, allocations: 0 / 0.8381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1808, allocations: 3.984 kB / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1808, allocations: 0 / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.1812, allocations: 211.4 kB / 0.8383 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.1812, allocations: 11.86 kB / 0.8383 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1812, allocations: 8 kB / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1813, allocations: 7.984 kB / 0.8384 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1814, allocations: 4 kB / 0.8384 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1814, allocations: 0 / 0.8384 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.1815, allocations: 104 kB / 0.8385 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1815, allocations: 0 / 0.8385 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002168/0.1817, allocations: 12 kB / 0.8385 GB, free: 2.875 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001191/0.1818, allocations: 99.25 kB / 0.8386 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1821, allocations: 75.91 kB / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1821, allocations: 0 / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1823, allocations: 43.91 kB / 0.8387 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1825, allocations: 7.984 kB / 0.8387 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.1828, allocations: 189.3 kB / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.1829, allocations: 71.34 kB / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1829, allocations: 19.36 kB / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1829, allocations: 0 / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.002287/0.1852, allocations: 0.9197 MB / 0.8398 GB, free: 1.406 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.044243902899325] Failed to read output from testmodel.py, exit status != 0: 0.19203807087615132 0.206026609 0.02738845 Calling exit ...