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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8646/0.8646, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 179.8 kB / 182.2 MB, free: 9.492 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 92.09 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 285.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.716e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3709, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.5082, allocations: 107.9 MB / 0.8628 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5085, allocations: 71.84 kB / 0.8628 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003501/0.512, allocations: 1.088 MB / 0.8639 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.512, allocations: 0 / 0.8639 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5121, allocations: 0 / 0.8639 GB, free: 2.801 MB / 0.5261 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.000479/0.5125, allocations: 378.3 kB / 0.8643 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5126, allocations: 11.97 kB / 0.8643 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.5126, allocations: 4 kB / 0.8643 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.5128, allocations: 180.3 kB / 0.8644 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5128, allocations: 3.953 kB / 0.8644 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.5128, allocations: 4 kB / 0.8645 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/0.5129, allocations: 31.98 kB / 0.8645 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.5131, allocations: 53.67 kB / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5131, allocations: 0 / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5131, allocations: 0 / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5131, allocations: 0 / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.5136, allocations: 305.3 kB / 0.8648 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.574e-05/0.5137, allocations: 42.56 kB / 0.8649 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.5138, allocations: 24.94 kB / 0.8649 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.514, allocations: 105.1 kB / 0.865 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.514, allocations: 34.56 kB / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.514, allocations: 0 / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002533/0.5143, allocations: 85.5 kB / 0.8651 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.5143, allocations: 51.41 kB / 0.8652 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.5144, allocations: 113 kB / 0.8653 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5144, allocations: 25.7 kB / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.5145, allocations: 88.12 kB / 0.8654 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5145, allocations: 15.81 kB / 0.8654 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.5146, allocations: 4 kB / 0.8654 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5147, allocations: 310.8 kB / 0.8657 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.5147, allocations: 15.98 kB / 0.8657 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.5147, allocations: 16 kB / 0.8657 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5149, allocations: 23.97 kB / 0.8657 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5149, allocations: 4 kB / 0.8657 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001659/0.515, allocations: 69.62 kB / 0.8658 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5151, allocations: 5.25 kB / 0.8658 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5151, allocations: 4 kB / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5151, allocations: 0 / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5152, allocations: 35.91 kB / 0.8659 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5153, allocations: 0 / 0.8659 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.5154, allocations: 15.98 kB / 0.8659 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5154, allocations: 0 / 0.8659 GB, free: 0.5664 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.5155, allocations: 105.8 kB / 0.866 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5155, allocations: 11.86 kB / 0.866 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.5157, allocations: 85.98 kB / 0.8661 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.5157, allocations: 0 / 0.8661 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5157, allocations: 4 kB / 0.8661 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5158, allocations: 0 / 0.8661 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5159, allocations: 158.1 kB / 0.8662 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5159, allocations: 0 / 0.8662 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5161, allocations: 23.98 kB / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5161, allocations: 0 / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5161, allocations: 7.891 kB / 0.8662 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5161, allocations: 3.938 kB / 0.8663 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5161, allocations: 0 / 0.8663 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.5163, allocations: 175.5 kB / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.5164, allocations: 88.95 kB / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5164, allocations: 0 / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.5165, allocations: 27.94 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.5166, allocations: 3.984 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.5166, allocations: 4 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.5167, allocations: 92.39 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5167, allocations: 4 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002261/0.5169, allocations: 8 kB / 0.8666 GB, free: 15.69 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.5171, allocations: 108.1 kB / 0.8667 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.5172, allocations: 39.92 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5172, allocations: 0 / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.5172, allocations: 16 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.5174, allocations: 0 / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.5177, allocations: 99.73 kB / 0.8669 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.5179, allocations: 0.6924 MB / 0.8676 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.518, allocations: 4.469 kB / 0.8676 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.518, allocations: 11.44 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.518, allocations: 0 / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.002711/0.5207, allocations: 0.6025 MB / 0.8682 GB, free: 14.07 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (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)