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.001594/0.001595, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001926/0.001926, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.727/1.727, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.65/1.65, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001386/0.001386, allocations: 67.91 kB / 0.6218 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6664, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004058/0.6705, allocations: 1.7 MB / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.6714, allocations: 276 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.6716, allocations: 0 / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.6718, allocations: 11.86 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.672, allocations: 19.8 kB / 0.726 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.6723, allocations: 59.92 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.6727, allocations: 243.4 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.6729, allocations: 57.52 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.6731, allocations: 95.73 kB / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.6734, allocations: 127.6 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.6734, allocations: 20 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.6735, allocations: 20 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.6736, allocations: 63.81 kB / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6737, allocations: 103.5 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.674, allocations: 249.2 kB / 0.7269 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.674, allocations: 0 / 0.7269 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.674, allocations: 0 / 0.7269 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6741, allocations: 0 / 0.7269 GB, free: 10.08 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.001399/0.6755, allocations: 0.5612 MB / 0.7275 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.6755, allocations: 12.03 kB / 0.7275 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.6756, allocations: 24.69 kB / 0.7275 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.676, allocations: 235.8 kB / 0.7278 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.676, allocations: 16.31 kB / 0.7278 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.6761, allocations: 24.36 kB / 0.7278 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.6768, allocations: 273.7 kB / 0.7281 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6769, allocations: 4.125 kB / 0.7281 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.6769, allocations: 15.92 kB / 0.7281 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.6769, allocations: 4 kB / 0.7281 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.6779, allocations: 295.5 kB / 0.7284 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.6795, allocations: 0.6597 MB / 0.729 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.6803, allocations: 282.3 kB / 0.7293 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.6808, allocations: 172.7 kB / 0.7294 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.6809, allocations: 4 kB / 0.7294 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/0.6816, allocations: 285.7 kB / 0.7297 GB, free: 7.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.6816, allocations: 0 / 0.7297 GB, free: 7.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001793/0.6834, allocations: 0.6239 MB / 0.7303 GB, free: 6.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.6835, allocations: 67.33 kB / 0.7304 GB, free: 6.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.6838, allocations: 179.9 kB / 0.7306 GB, free: 6.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.6838, allocations: 37.7 kB / 0.7306 GB, free: 6.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.6839, allocations: 128.5 kB / 0.7307 GB, free: 6.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.684, allocations: 67.09 kB / 0.7308 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.6841, allocations: 57.7 kB / 0.7308 GB, free: 5.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6843, allocations: 334.8 kB / 0.7312 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.6848, allocations: 163.8 kB / 0.7313 GB, free: 5.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.6854, allocations: 176 kB / 0.7315 GB, free: 5.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.6863, allocations: 320.4 kB / 0.7318 GB, free: 4.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6863, allocations: 4 kB / 0.7318 GB, free: 4.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001124/0.6875, allocations: 413.4 kB / 0.7322 GB, free: 4.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.6875, allocations: 8 kB / 0.7322 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.6875, allocations: 4 kB / 0.7322 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6876, allocations: 3.938 kB / 0.7322 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.688, allocations: 75.86 kB / 0.7323 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.688, allocations: 4 kB / 0.7323 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.6883, allocations: 55.7 kB / 0.7323 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.6884, allocations: 11.98 kB / 0.7323 GB, free: 4.32 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.0003121/0.6887, allocations: 151.5 kB / 0.7325 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.6888, allocations: 23.75 kB / 0.7325 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.6888, allocations: 30.48 kB / 0.7325 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.6888, allocations: 0 / 0.7325 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6889, allocations: 4 kB / 0.7325 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6889, allocations: 0 / 0.7325 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.6905, allocations: 0.8182 MB / 0.7333 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6905, allocations: 7.938 kB / 0.7333 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.6908, allocations: 43.94 kB / 0.7334 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.6908, allocations: 4 kB / 0.7334 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.6908, allocations: 7.984 kB / 0.7334 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6909, allocations: 4 kB / 0.7334 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6909, allocations: 0 / 0.7334 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.6922, allocations: 0.5353 MB / 0.7339 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.6923, allocations: 104.7 kB / 0.734 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.6924, allocations: 8 kB / 0.734 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.6927, allocations: 43.94 kB / 0.7341 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6929, allocations: 39.94 kB / 0.7341 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.6929, allocations: 16 kB / 0.7341 GB, free: 2.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000133/0.693, allocations: 135.1 kB / 0.7343 GB, free: 2.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.71e-07/0.6931, allocations: 0 / 0.7343 GB, free: 2.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003667/0.6934, allocations: 55.91 kB / 0.7343 GB, free: 2.203 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.000277/0.6937, allocations: 115.2 kB / 0.7344 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.695, allocations: 444.9 kB / 0.7348 GB, free: 1.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.695, allocations: 0 / 0.7348 GB, free: 1.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.6956, allocations: 207.8 kB / 0.735 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.696, allocations: 47.91 kB / 0.7351 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.6972, allocations: 0.5041 MB / 0.7356 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.6977, allocations: 0.7359 MB / 0.7363 GB, free: 104 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.6979, allocations: 41.92 kB / 0.7363 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.698, allocations: 19.44 kB / 0.7364 GB, free: 40 kB / 0.545 GB Notification: Performance of SimCode: time 1.8e-07/0.698, allocations: 0 / 0.7364 GB, free: 40 kB / 0.545 GB Notification: Performance of Templates: time 0.007736/0.7057, allocations: 3.074 MB / 0.7394 GB, free: 12.98 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)