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.0007167/0.0007167, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0006985/0.0006985, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8292/0.8292, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001364/0.001364, allocations: 229 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6543/0.6543, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.657e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.2363/0.2363, allocations: 1.498 MB / 0.649 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.2366, allocations: 107.6 kB / 0.6491 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.2366, allocations: 0 / 0.6491 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.2366, allocations: 2.406 kB / 0.6491 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.2367, allocations: 13.2 kB / 0.6491 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2369, allocations: 19.95 kB / 0.6491 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.237, allocations: 51.97 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.2371, allocations: 5.453 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.2371, allocations: 22.02 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.2371, allocations: 21.75 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2372, allocations: 5.531 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.2372, allocations: 20.33 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.2373, allocations: 14.08 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2373, allocations: 10.23 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2374, allocations: 65.03 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2374, allocations: 1.406 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2374, allocations: 0.5 kB / 0.6493 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2374, allocations: 2.531 kB / 0.6493 GB, free: 56.32 MB / 0.5573 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.0003322/0.2378, allocations: 303.7 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2378, allocations: 11.03 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.2378, allocations: 9.484 kB / 0.6496 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.905e-05/0.2379, allocations: 124.9 kB / 0.6498 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2379, allocations: 3.797 kB / 0.6498 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2379, allocations: 2.812 kB / 0.6498 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2381, allocations: 76.55 kB / 0.6498 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2381, allocations: 2.031 kB / 0.6498 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2381, allocations: 3.062 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2381, allocations: 3.094 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2382, allocations: 77.14 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.2385, allocations: 226.3 kB / 0.6501 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2386, allocations: 66.48 kB / 0.6502 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.2387, allocations: 46.81 kB / 0.6503 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.2388, allocations: 30.89 kB / 0.6503 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.2388, allocations: 34.78 kB / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.2388, allocations: 0 / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003111/0.2392, allocations: 157.7 kB / 0.6505 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.2392, allocations: 53.25 kB / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.2392, allocations: 130.6 kB / 0.6506 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.2393, allocations: 27.27 kB / 0.6507 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.2393, allocations: 94.3 kB / 0.6508 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.2393, allocations: 11.89 kB / 0.6508 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.2393, allocations: 15.5 kB / 0.6508 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.2394, allocations: 317.3 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.2394, allocations: 37.25 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.2395, allocations: 37.19 kB / 0.6512 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2396, allocations: 79.16 kB / 0.6512 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2396, allocations: 1 kB / 0.6512 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001727/0.2398, allocations: 117.2 kB / 0.6513 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2398, allocations: 10.27 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2398, allocations: 0 / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2398, allocations: 1.188 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.2399, allocations: 15.14 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2399, allocations: 2 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.2399, allocations: 13.55 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.24, allocations: 1.562 kB / 0.6514 GB, free: 54.89 MB / 0.5573 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 3.892e-05/0.24, allocations: 117.2 kB / 0.6515 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.24, allocations: 6.859 kB / 0.6515 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.2402, allocations: 126.3 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2402, allocations: 4.797 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2402, allocations: 1.156 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2402, allocations: 3.938 kB / 0.6516 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.493e-05/0.2403, allocations: 122.2 kB / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2403, allocations: 0 / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2403, allocations: 14.88 kB / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2403, allocations: 0 / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2403, allocations: 9.125 kB / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.2403, allocations: 4.5 kB / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2403, allocations: 0 / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2405, allocations: 203.4 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.2405, allocations: 8.031 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.2405, allocations: 0.6562 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.2406, allocations: 18.17 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.2406, allocations: 9.25 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2406, allocations: 0.7031 kB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.2406, allocations: 99.83 kB / 0.6521 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2406, allocations: 0 / 0.6521 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001449/0.2408, allocations: 11.06 kB / 0.6521 GB, free: 54.38 MB / 0.5573 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 9.558e-05/0.2409, allocations: 103.5 kB / 0.6522 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.241, allocations: 83.09 kB / 0.6523 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.241, allocations: 0 / 0.6523 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.2411, allocations: 42.12 kB / 0.6523 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.2413, allocations: 7.547 kB / 0.6523 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.2415, allocations: 181.4 kB / 0.6525 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.2416, allocations: 70.64 kB / 0.6526 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.2416, allocations: 15.66 kB / 0.6526 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.2416, allocations: 4 kB / 0.6526 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.00162/0.2432, allocations: 0.9163 MB / 0.6535 GB, free: 54.03 MB / 0.5573 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: 5.166556891985238] Failed to read output from testmodel.py, exit status != 0: 0.2480289787054062 0.25506953399999993 0.01596548499999994 Calling exit ...