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.0009957/0.0009957, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002306, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001085/0.001085, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002416, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08747/1.115, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001291/0.001291, allocations: 244.8 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.002438, allocations: 467.2 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.6937/0.6937, allocations: 138.7 MB / 384.1 MB, free: 468 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07612/0.7699, allocations: 42.4 MB / 426.5 MB, free: 5.93 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 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.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.202e-06/1.202e-06, allocations: 0 / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.962e-05, allocations: 6.312 kB / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002697/0.002716, allocations: 1.584 MB / 429.4 MB, free: 3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000206/0.002922, allocations: 116.5 kB / 429.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.00295, allocations: 0 / 429.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.002982, allocations: 3.938 kB / 429.5 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.003023, allocations: 3.938 kB / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.003131, allocations: 27.91 kB / 429.5 MB, free: 2.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.003209, allocations: 43.86 kB / 429.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.003273, allocations: 11.98 kB / 429.6 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.003351, allocations: 35.84 kB / 429.6 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.003395, allocations: 15.97 kB / 429.6 MB, free: 2.742 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.00341, allocations: 4 kB / 429.6 MB, free: 2.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.003488, allocations: 23.98 kB / 429.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.003518, allocations: 7.938 kB / 429.7 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.003536, allocations: 8 kB / 429.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003649, allocations: 43.84 kB / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.003662, allocations: 0 / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003663, allocations: 0 / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.00368, allocations: 4 kB / 429.7 MB, free: 2.652 MB / 410.7 MB 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.0003876/0.004067, allocations: 276.3 kB / 430 MB, free: 2.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004101, allocations: 15.97 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.004133, allocations: 8.875 kB / 430 MB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.004227, allocations: 129.7 kB / 430.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.004238, allocations: 4.375 kB / 430.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.004247, allocations: 4.375 kB / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.00439, allocations: 61.77 kB / 430.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004397, allocations: 192 / 430.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004405, allocations: 8.375 kB / 430.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00441, allocations: 384 / 430.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.004443, allocations: 11.92 kB / 430.2 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.004664, allocations: 165.9 kB / 430.4 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.004755, allocations: 69.31 kB / 430.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.004773, allocations: 4.859 kB / 430.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.004905, allocations: 36.05 kB / 430.5 MB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.004928, allocations: 34.56 kB / 430.5 MB, free: 1.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.00493, allocations: 0 / 430.5 MB, free: 1.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.00506, allocations: 53.62 kB / 430.6 MB, free: 1.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.005089, allocations: 51.41 kB / 430.6 MB, free: 1.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.005159, allocations: 122.7 kB / 430.8 MB, free: 1.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005171, allocations: 25.7 kB / 430.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.005235, allocations: 92.06 kB / 430.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.005252, allocations: 7.906 kB / 430.9 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.005285, allocations: 25.7 kB / 430.9 MB, free: 1.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.005367, allocations: 318.8 kB / 431.2 MB, free: 1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.005381, allocations: 2.828 kB / 431.2 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.005393, allocations: 8 kB / 431.2 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.005424, allocations: 19.66 kB / 431.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005425, allocations: 0 / 431.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.286e-05/0.005488, allocations: 45.62 kB / 431.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005499, allocations: 4 kB / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005503, allocations: 0 / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005514, allocations: 3.938 kB / 431.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.005594, allocations: 11.98 kB / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.005596, allocations: 4 kB / 431.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.005626, allocations: 4 kB / 431.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005632, allocations: 4 kB / 431.3 MB, free: 0.8828 MB / 410.7 MB 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 5.618e-05/0.005688, allocations: 112.7 kB / 431.4 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.005714, allocations: 11.92 kB / 431.5 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.005798, allocations: 49.62 kB / 431.5 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.005803, allocations: 7.922 kB / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005804, allocations: 0 / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005807, allocations: 4 kB / 431.5 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.005932, allocations: 73.88 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005934, allocations: 0 / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.005988, allocations: 12 kB / 431.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.005998, allocations: 7.953 kB / 431.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.006001, allocations: 4 kB / 431.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.006008, allocations: 3.984 kB / 431.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006009, allocations: 0 / 431.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006011, allocations: 3.938 kB / 431.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.006173, allocations: 182.6 kB / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.006184, allocations: 0 / 431.8 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.006253, allocations: 11.98 kB / 431.8 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.006281, allocations: 4 kB / 431.8 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.006286, allocations: 3.938 kB / 431.8 MB, free: 360 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.006312, allocations: 25.34 kB / 431.8 MB, free: 332 kB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006312, allocations: 4 kB / 431.8 MB, free: 328 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.00651, allocations: 11.94 kB / 431.9 MB, free: 316 kB / 410.7 MB 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.843e-05/0.006609, allocations: 88.44 kB / 431.9 MB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.006678, allocations: 16.84 kB / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.006685, allocations: 4 kB / 432 MB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.006707, allocations: 12.8 kB / 432 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.00688, allocations: 11.98 kB / 432 MB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1655/0.1723, allocations: 152 kB / 432.1 MB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.1724, allocations: 59.73 kB / 432.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.678e-05/0.1724, allocations: 3 kB / 432.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1725, allocations: 53.94 kB / 432.2 MB, free: 2.914 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.1725, allocations: 0.625 kB / 432.2 MB, free: 2.914 MB / 410.7 MB Notification: Performance of Templates: time 0.002633/0.1751, allocations: 0.8128 MB / 433.1 MB, free: 2.891 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4764711847528815]