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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 118.4 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.002325/0.002325, allocations: 284.6 kB / 303.6 MB, free: 3.68 MB / 238.1 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 1.036/1.036, allocations: 180.9 MB / 0.5268 GB, free: 2.648 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 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00291/0.00291, allocations: 107.8 kB / 0.7259 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4976, allocations: 94.15 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002642/0.5003, allocations: 1.497 MB / 0.8193 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.5006, allocations: 118.4 kB / 0.8194 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.5006, allocations: 1.094 kB / 0.8194 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.5007, allocations: 3.938 kB / 0.8194 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.5007, allocations: 17.95 kB / 0.8195 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.5009, allocations: 19.59 kB / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.501, allocations: 44.86 kB / 0.8195 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.5011, allocations: 10.62 kB / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.5012, allocations: 20.41 kB / 0.8196 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.5012, allocations: 24.12 kB / 0.8196 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.5012, allocations: 4 kB / 0.8196 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.5013, allocations: 19.25 kB / 0.8196 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.5014, allocations: 14.48 kB / 0.8196 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.5014, allocations: 27.64 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.5015, allocations: 59.44 kB / 0.8197 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5015, allocations: 0 / 0.8197 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5015, allocations: 0 / 0.8197 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5015, allocations: 0 / 0.8197 GB, free: 6.188 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.0004737/0.502, allocations: 380.2 kB / 0.8201 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5021, allocations: 8.594 kB / 0.8201 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.5021, allocations: 8.703 kB / 0.8201 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.5022, allocations: 179.4 kB / 0.8202 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.5022, allocations: 5.5 kB / 0.8203 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5022, allocations: 1.344 kB / 0.8203 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.5024, allocations: 72.16 kB / 0.8203 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5024, allocations: 1.875 kB / 0.8203 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.5024, allocations: 7.938 kB / 0.8203 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.5025, allocations: 0.9375 kB / 0.8203 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5027, allocations: 74.53 kB / 0.8204 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.503, allocations: 280.8 kB / 0.8207 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.5032, allocations: 74.64 kB / 0.8207 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5033, allocations: 41.44 kB / 0.8208 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.5036, allocations: 108.8 kB / 0.8209 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.5036, allocations: 39.61 kB / 0.8209 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5036, allocations: 0 / 0.8209 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005611/0.5041, allocations: 151.1 kB / 0.8211 GB, free: 5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.5041, allocations: 54.36 kB / 0.8211 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5043, allocations: 131.1 kB / 0.8212 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.5043, allocations: 26.83 kB / 0.8213 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.5043, allocations: 97.95 kB / 0.8214 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5043, allocations: 13.83 kB / 0.8214 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.5044, allocations: 16.38 kB / 0.8214 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.5044, allocations: 317.3 kB / 0.8217 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.5047, allocations: 35.89 kB / 0.8217 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.5049, allocations: 41.92 kB / 0.8218 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.5052, allocations: 82.11 kB / 0.8218 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5052, allocations: 5.031 kB / 0.8219 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004172/0.5056, allocations: 114.4 kB / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5057, allocations: 5.812 kB / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5057, allocations: 0 / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5057, allocations: 1.094 kB / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5058, allocations: 16.42 kB / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5058, allocations: 0 / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.5059, allocations: 14.11 kB / 0.822 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.506, allocations: 5.438 kB / 0.822 GB, free: 4.262 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 6.678e-05/0.506, allocations: 117.3 kB / 0.8221 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.5061, allocations: 6.359 kB / 0.8221 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.5066, allocations: 119 kB / 0.8222 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5066, allocations: 0.9688 kB / 0.8222 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5066, allocations: 0 / 0.8222 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5066, allocations: 5.641 kB / 0.8222 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5068, allocations: 179.1 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5068, allocations: 0 / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.5069, allocations: 16.92 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5069, allocations: 0 / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5069, allocations: 1.156 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.507, allocations: 0.5156 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.507, allocations: 0 / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.5075, allocations: 212.1 kB / 0.8226 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.5075, allocations: 83.67 kB / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5075, allocations: 5.891 kB / 0.8227 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5077, allocations: 12.11 kB / 0.8227 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.5077, allocations: 7.328 kB / 0.8227 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5077, allocations: 5.188 kB / 0.8227 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.5078, allocations: 100.8 kB / 0.8228 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5078, allocations: 3.938 kB / 0.8228 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003778/0.5082, allocations: 14.12 kB / 0.8229 GB, free: 3.527 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.0001396/0.5083, allocations: 99.81 kB / 0.8229 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.5087, allocations: 82.72 kB / 0.823 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5087, allocations: 1.156 kB / 0.823 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.5089, allocations: 43.55 kB / 0.8231 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5091, allocations: 12.86 kB / 0.8231 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.5095, allocations: 172.2 kB / 0.8232 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.5096, allocations: 0.6948 MB / 0.8239 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.5096, allocations: 11.44 kB / 0.8239 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.5096, allocations: 1.406 kB / 0.8239 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.002893/0.5125, allocations: 0.8998 MB / 0.8248 GB, free: 2.469 MB / 0.5762 GB " [Timeout remaining time 659] 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.034377947915345] Failed to read output from testmodel.py, exit status != 0: 0.5210856478661299 0.5425691380000001 0.036282512 Calling exit ...