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.001695/0.001695, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00194/0.00194, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.002376/0.002376, allocations: 282.3 kB / 304.8 MB, free: 3.547 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.099/1.099, allocations: 180.9 MB / 0.5282 GB, free: 1.898 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.003075/0.003075, allocations: 103.8 kB / 0.7283 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5065, allocations: 94.15 MB / 0.8203 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00282/0.5094, allocations: 1.509 MB / 0.8218 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.5097, allocations: 112.9 kB / 0.8219 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.5098, allocations: 1.125 kB / 0.8219 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.5098, allocations: 7.922 kB / 0.8219 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.5099, allocations: 6.125 kB / 0.8219 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.5101, allocations: 25.12 kB / 0.8219 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.5103, allocations: 40.8 kB / 0.8219 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.5104, allocations: 20.08 kB / 0.822 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.5104, allocations: 21.5 kB / 0.822 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.5105, allocations: 22.11 kB / 0.822 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.5105, allocations: 3.938 kB / 0.822 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.5106, allocations: 20.55 kB / 0.822 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.5106, allocations: 13.98 kB / 0.822 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.5107, allocations: 24.33 kB / 0.8221 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.5108, allocations: 60.23 kB / 0.8221 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5108, allocations: 1.125 kB / 0.8221 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5108, allocations: 0 / 0.8221 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5109, allocations: 7.938 kB / 0.8221 GB, free: 3.219 MB / 0.5606 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.0006327/0.5115, allocations: 378.4 kB / 0.8225 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5115, allocations: 10.5 kB / 0.8225 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.5116, allocations: 7.078 kB / 0.8225 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.5117, allocations: 168.9 kB / 0.8227 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5117, allocations: 5.594 kB / 0.8227 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.5118, allocations: 1.688 kB / 0.8227 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.512, allocations: 83.7 kB / 0.8228 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.512, allocations: 192 / 0.8228 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5121, allocations: 3.938 kB / 0.8228 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5121, allocations: 1.219 kB / 0.8228 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.5124, allocations: 74.95 kB / 0.8228 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.5128, allocations: 285.5 kB / 0.8231 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.513, allocations: 67.62 kB / 0.8232 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5131, allocations: 39.11 kB / 0.8232 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.5134, allocations: 111.5 kB / 0.8233 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5134, allocations: 30.56 kB / 0.8233 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5134, allocations: 4.844 kB / 0.8233 GB, free: 2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005668/0.514, allocations: 154 kB / 0.8235 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5141, allocations: 56.55 kB / 0.8235 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5142, allocations: 123.2 kB / 0.8237 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.5142, allocations: 26.77 kB / 0.8237 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.5143, allocations: 98.38 kB / 0.8238 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.5143, allocations: 10.34 kB / 0.8238 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.5143, allocations: 15.97 kB / 0.8238 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5145, allocations: 321.2 kB / 0.8241 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.5146, allocations: 40.53 kB / 0.8242 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.5148, allocations: 37.36 kB / 0.8242 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.515, allocations: 79.38 kB / 0.8243 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.515, allocations: 7.938 kB / 0.8243 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003285/0.5153, allocations: 106 kB / 0.8244 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5154, allocations: 5.156 kB / 0.8244 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5154, allocations: 1.219 kB / 0.8244 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5154, allocations: 0 / 0.8244 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5155, allocations: 18.67 kB / 0.8244 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5155, allocations: 3.938 kB / 0.8244 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.5156, allocations: 19.75 kB / 0.8244 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5156, allocations: 1.031 kB / 0.8244 GB, free: 1.09 MB / 0.5606 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.971e-05/0.5157, allocations: 120.9 kB / 0.8245 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.5157, allocations: 3.062 kB / 0.8245 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.5161, allocations: 121.2 kB / 0.8247 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5161, allocations: 1.25 kB / 0.8247 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5161, allocations: 0 / 0.8247 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5161, allocations: 3.984 kB / 0.8247 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.5163, allocations: 176.8 kB / 0.8248 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5163, allocations: 0 / 0.8248 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.5163, allocations: 18.25 kB / 0.8248 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5163, allocations: 1.156 kB / 0.8248 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5164, allocations: 0 / 0.8248 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5164, allocations: 1.188 kB / 0.8249 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5164, allocations: 4 kB / 0.8249 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.5167, allocations: 217.5 kB / 0.8251 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.5168, allocations: 82.5 kB / 0.8251 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5168, allocations: 4 kB / 0.8251 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5169, allocations: 15.27 kB / 0.8252 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.5169, allocations: 5.422 kB / 0.8252 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.517, allocations: 1.438 kB / 0.8252 GB, free: 376 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.698e-05/0.517, allocations: 100.4 kB / 0.8253 GB, free: 288 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.517, allocations: 0 / 0.8253 GB, free: 288 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002431/0.5173, allocations: 13.34 kB / 0.8253 GB, free: 284 kB / 0.5606 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.0001669/0.5174, allocations: 102.6 kB / 0.8254 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.5178, allocations: 82.11 kB / 0.8255 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5178, allocations: 0 / 0.8255 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.5179, allocations: 47.61 kB / 0.8255 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5182, allocations: 18.06 kB / 0.8255 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.5186, allocations: 160.2 kB / 0.8257 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5189, allocations: 0.6912 MB / 0.8263 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.5189, allocations: 1.094 kB / 0.8263 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.519, allocations: 13.81 kB / 0.8264 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.519, allocations: 0 / 0.8264 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.003293/0.5223, allocations: 0.8124 MB / 0.8271 GB, free: 14.85 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: 6.285504766739905]