Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 194.3 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 251.7 MB / 0.5088 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.92 kB / 0.6216 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7296, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003441/0.7331, allocations: 1.697 MB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.7337, allocations: 276 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.7338, allocations: 4 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.7339, allocations: 7.875 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.734, allocations: 31.72 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.7343, allocations: 55.92 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.7346, allocations: 227.4 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.7349, allocations: 57.53 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.735, allocations: 87.73 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.7352, allocations: 115.6 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7354, allocations: 16 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.7354, allocations: 12 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.7355, allocations: 51.81 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.7356, allocations: 99.44 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.736, allocations: 237.2 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.736, allocations: 7.938 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.736, allocations: 0 / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.736, allocations: 4 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001644/0.7376, allocations: 0.5495 MB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7377, allocations: 12.03 kB / 0.7273 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.7378, allocations: 24.75 kB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.7381, allocations: 239.8 kB / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.7382, allocations: 24.36 kB / 0.7275 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.7383, allocations: 16.38 kB / 0.7276 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.7392, allocations: 269.7 kB / 0.7278 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7392, allocations: 4.125 kB / 0.7278 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.7392, allocations: 19.92 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.7392, allocations: 4 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.7402, allocations: 295.5 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.7417, allocations: 0.6636 MB / 0.7288 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008049/0.7426, allocations: 274.4 kB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7431, allocations: 176.7 kB / 0.7292 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.7431, allocations: 4 kB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006994/0.7438, allocations: 288.9 kB / 0.7295 GB, free: 7.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.7438, allocations: 0 / 0.7295 GB, free: 7.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001717/0.7456, allocations: 0.6129 MB / 0.7301 GB, free: 6.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.7456, allocations: 59.41 kB / 0.7301 GB, free: 6.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.7458, allocations: 187 kB / 0.7303 GB, free: 6.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.7459, allocations: 33.7 kB / 0.7303 GB, free: 6.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.7461, allocations: 124.5 kB / 0.7305 GB, free: 6.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.7461, allocations: 63.11 kB / 0.7305 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.7463, allocations: 61.69 kB / 0.7306 GB, free: 5.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7464, allocations: 334.8 kB / 0.7309 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.747, allocations: 167.9 kB / 0.7311 GB, free: 5.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.7475, allocations: 172.9 kB / 0.7312 GB, free: 5.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.7484, allocations: 324.4 kB / 0.7315 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7484, allocations: 0 / 0.7315 GB, free: 4.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00108/0.7495, allocations: 413.5 kB / 0.7319 GB, free: 4.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7495, allocations: 4 kB / 0.7319 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7495, allocations: 4 kB / 0.7319 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7496, allocations: 3.938 kB / 0.7319 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.75, allocations: 83.86 kB / 0.732 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.75, allocations: 4 kB / 0.732 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.7503, allocations: 55.69 kB / 0.7321 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.7503, allocations: 8 kB / 0.7321 GB, free: 4.402 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001805/0.7505, allocations: 155.5 kB / 0.7322 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.7506, allocations: 23.75 kB / 0.7323 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.7506, allocations: 38.47 kB / 0.7323 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7506, allocations: 0 / 0.7323 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7506, allocations: 4 kB / 0.7323 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7507, allocations: 0 / 0.7323 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.7522, allocations: 0.8182 MB / 0.7331 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7522, allocations: 3.938 kB / 0.7331 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.7524, allocations: 51.94 kB / 0.7331 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7524, allocations: 4 kB / 0.7331 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.7525, allocations: 4 kB / 0.7332 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.7525, allocations: 7.984 kB / 0.7332 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7525, allocations: 0 / 0.7332 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7537, allocations: 0.5391 MB / 0.7337 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.7538, allocations: 100.8 kB / 0.7338 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.7538, allocations: 7.984 kB / 0.7338 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.7542, allocations: 47.94 kB / 0.7338 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7543, allocations: 35.95 kB / 0.7339 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.7543, allocations: 15.98 kB / 0.7339 GB, free: 2.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001107/0.7545, allocations: 135.1 kB / 0.734 GB, free: 2.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7545, allocations: 0 / 0.734 GB, free: 2.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002978/0.7548, allocations: 55.91 kB / 0.7341 GB, free: 2.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001775/0.7549, allocations: 119.2 kB / 0.7342 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.7561, allocations: 393 kB / 0.7346 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7561, allocations: 4 kB / 0.7346 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.7567, allocations: 211.8 kB / 0.7348 GB, free: 1.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.7571, allocations: 35.86 kB / 0.7348 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.7582, allocations: 0.5099 MB / 0.7353 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.7586, allocations: 0.7362 MB / 0.736 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000151/0.7587, allocations: 33.94 kB / 0.736 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.7588, allocations: 23.42 kB / 0.7361 GB, free: 160 kB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.7588, allocations: 4 kB / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of Templates: time 0.00622/0.7651, allocations: 2.914 MB / 0.7389 GB, free: 13.25 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)