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.001537/0.001537, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.001717/0.001717, allocations: 217.1 kB / 23.01 MB, free: 5.086 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.00243/0.00243, allocations: 293.8 kB / 313.5 MB, free: 2.789 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.002823/0.002823, allocations: 101.7 kB / 0.7408 GB, free: 27.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1887, allocations: 95.38 MB / 0.834 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002807/0.1915, allocations: 1.53 MB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.1918, allocations: 108.6 kB / 0.8356 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.1919, allocations: 4 kB / 0.8356 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.1919, allocations: 3.938 kB / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.192, allocations: 11.94 kB / 0.8356 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1922, allocations: 23.91 kB / 0.8356 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.1923, allocations: 47.83 kB / 0.8356 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.1924, allocations: 4 kB / 0.8357 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.1924, allocations: 19.98 kB / 0.8357 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.1925, allocations: 19.86 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1925, allocations: 4 kB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.1926, allocations: 23.98 kB / 0.8357 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.1926, allocations: 15.98 kB / 0.8357 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1927, allocations: 19.86 kB / 0.8357 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1928, allocations: 63.67 kB / 0.8358 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1928, allocations: 4 kB / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1928, allocations: 0 / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1928, allocations: 0 / 0.8358 GB, free: 6.18 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.0005321/0.1933, allocations: 302.1 kB / 0.8361 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1934, allocations: 13.34 kB / 0.8361 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1934, allocations: 8.891 kB / 0.8361 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1935, allocations: 114.4 kB / 0.8362 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1936, allocations: 384 / 0.8362 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1936, allocations: 8.375 kB / 0.8362 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1938, allocations: 74.2 kB / 0.8363 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1938, allocations: 4.125 kB / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1938, allocations: 3.938 kB / 0.8363 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1938, allocations: 7.938 kB / 0.8363 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1941, allocations: 75.86 kB / 0.8364 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1945, allocations: 252 kB / 0.8366 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1947, allocations: 74.47 kB / 0.8367 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1949, allocations: 40.91 kB / 0.8367 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.1951, allocations: 35.95 kB / 0.8368 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1951, allocations: 34.5 kB / 0.8368 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1951, allocations: 4 kB / 0.8368 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005167/0.1956, allocations: 141.6 kB / 0.837 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1957, allocations: 55.41 kB / 0.837 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1958, allocations: 123.2 kB / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1958, allocations: 33.7 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.1959, allocations: 92.09 kB / 0.8372 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1959, allocations: 15.88 kB / 0.8373 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.196, allocations: 13.72 kB / 0.8373 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1961, allocations: 314.8 kB / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1962, allocations: 35.95 kB / 0.8376 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1964, allocations: 43.95 kB / 0.8377 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1966, allocations: 80.72 kB / 0.8377 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1966, allocations: 3.938 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.1969, allocations: 109.9 kB / 0.8378 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.197, allocations: 8 kB / 0.8378 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.197, allocations: 0 / 0.8378 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.197, allocations: 4.031 kB / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1971, allocations: 19.97 kB / 0.8379 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1971, allocations: 4 kB / 0.8379 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.1972, allocations: 11.98 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1972, allocations: 7.984 kB / 0.8379 GB, free: 3.867 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.594e-05/0.1973, allocations: 114.4 kB / 0.838 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1973, allocations: 15.88 kB / 0.838 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.1977, allocations: 117.6 kB / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1977, allocations: 0 / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1977, allocations: 0 / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1977, allocations: 4 kB / 0.8381 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1979, allocations: 156.6 kB / 0.8383 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1979, allocations: 0 / 0.8383 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.198, allocations: 15.98 kB / 0.8383 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.198, allocations: 0 / 0.8383 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.198, allocations: 3.984 kB / 0.8383 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.198, allocations: 0 / 0.8383 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.198, allocations: 0 / 0.8383 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.1983, allocations: 215.3 kB / 0.8385 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.1983, allocations: 7.922 kB / 0.8385 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1984, allocations: 4 kB / 0.8385 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1985, allocations: 11.98 kB / 0.8385 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1985, allocations: 4 kB / 0.8385 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1985, allocations: 3.984 kB / 0.8385 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.455e-05/0.1986, allocations: 104.5 kB / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002287/0.1988, allocations: 12 kB / 0.8386 GB, free: 3.012 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.0001663/0.199, allocations: 95.25 kB / 0.8387 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1993, allocations: 79.84 kB / 0.8388 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1993, allocations: 4 kB / 0.8388 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1994, allocations: 39.97 kB / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1997, allocations: 10.52 kB / 0.8389 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.2, allocations: 180.9 kB / 0.839 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2003, allocations: 0.6885 MB / 0.8397 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.2004, allocations: 11.42 kB / 0.8397 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2004, allocations: 4 kB / 0.8397 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of Templates: time 0.002555/0.2029, allocations: 0.891 MB / 0.8406 GB, free: 0.957 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.163709454936907] Failed to read output from testmodel.py, exit status != 0: 0.2102131899446249 0.22446125900000002 0.028770142000000002 Calling exit ...