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.0008308/0.0008306, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008936/0.0008938, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.636/1.636, allocations: 252 MB / 0.5102 GB, free: 4.797 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.0008569/0.000857, allocations: 16 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6836, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00192/0.6856, allocations: 1.323 MB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000553/0.6862, allocations: 260.1 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.6863, allocations: 7.938 kB / 0.7297 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.828e-05/0.6864, allocations: 11.92 kB / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.6865, allocations: 27.78 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.6867, allocations: 55.86 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.687, allocations: 203.5 kB / 0.73 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.6872, allocations: 45.7 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.6873, allocations: 75.75 kB / 0.7301 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.6874, allocations: 103.6 kB / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.6875, allocations: 12 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.989e-05/0.6875, allocations: 8 kB / 0.7302 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.6876, allocations: 59.8 kB / 0.7303 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.6877, allocations: 57.58 kB / 0.7303 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.6879, allocations: 173.6 kB / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6879, allocations: 0 / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6879, allocations: 0 / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6879, allocations: 0 / 0.7305 GB, free: 8.969 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.001161/0.6891, allocations: 0.5417 MB / 0.731 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6891, allocations: 12.03 kB / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.6892, allocations: 23.72 kB / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.6895, allocations: 238.6 kB / 0.7313 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.6895, allocations: 19.98 kB / 0.7313 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.6896, allocations: 16 kB / 0.7313 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.6903, allocations: 293.4 kB / 0.7316 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6903, allocations: 3.938 kB / 0.7316 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.6904, allocations: 11.98 kB / 0.7316 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.6904, allocations: 8 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.6913, allocations: 351.4 kB / 0.7319 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.6927, allocations: 0.6988 MB / 0.7326 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.6935, allocations: 318.2 kB / 0.7329 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.694, allocations: 208.7 kB / 0.7331 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.6941, allocations: 0 / 0.7331 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006973/0.6948, allocations: 318.2 kB / 0.7334 GB, free: 5.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.6948, allocations: 4 kB / 0.7334 GB, free: 5.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001685/0.6965, allocations: 0.6866 MB / 0.7341 GB, free: 5.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.6965, allocations: 55.41 kB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.6967, allocations: 187 kB / 0.7343 GB, free: 4.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.6968, allocations: 37.69 kB / 0.7344 GB, free: 4.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.6969, allocations: 124.5 kB / 0.7345 GB, free: 4.652 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.6969, allocations: 67.09 kB / 0.7346 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.697, allocations: 8 kB / 0.7346 GB, free: 4.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6971, allocations: 342.7 kB / 0.7349 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.6976, allocations: 195.8 kB / 0.7351 GB, free: 4.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.6981, allocations: 192.9 kB / 0.7353 GB, free: 3.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.6986, allocations: 187.7 kB / 0.7354 GB, free: 3.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6986, allocations: 0 / 0.7354 GB, free: 3.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001033/0.6996, allocations: 465 kB / 0.7359 GB, free: 3.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6996, allocations: 4 kB / 0.7359 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6996, allocations: 4 kB / 0.7359 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6997, allocations: 0 / 0.7359 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.7001, allocations: 95.86 kB / 0.736 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.7001, allocations: 4 kB / 0.736 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.7004, allocations: 67.78 kB / 0.736 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.7004, allocations: 12 kB / 0.7361 GB, free: 3.027 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.7006, allocations: 159.5 kB / 0.7362 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.7006, allocations: 19.75 kB / 0.7362 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.7007, allocations: 22.56 kB / 0.7363 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7007, allocations: 11.98 kB / 0.7363 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.7007, allocations: 0 / 0.7363 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7007, allocations: 0 / 0.7363 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.7021, allocations: 0.8612 MB / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7021, allocations: 0 / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.7024, allocations: 71.94 kB / 0.7372 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7024, allocations: 0 / 0.7372 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.7025, allocations: 8 kB / 0.7372 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7025, allocations: 0 / 0.7372 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7025, allocations: 3.984 kB / 0.7372 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.7036, allocations: 0.6015 MB / 0.7378 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.7037, allocations: 96.77 kB / 0.7379 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.7038, allocations: 15.92 kB / 0.7379 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.704, allocations: 59.94 kB / 0.7379 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7042, allocations: 39.94 kB / 0.738 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.7042, allocations: 11.98 kB / 0.738 GB, free: 0.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001122/0.7043, allocations: 136 kB / 0.7381 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7043, allocations: 0 / 0.7381 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002745/0.7046, allocations: 52 kB / 0.7382 GB, free: 0.7734 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 (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.000179/0.7048, allocations: 130.9 kB / 0.7383 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.7059, allocations: 451.7 kB / 0.7387 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7059, allocations: 4 kB / 0.7387 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.7065, allocations: 239.8 kB / 0.739 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.7069, allocations: 29.11 kB / 0.739 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009756/0.7079, allocations: 0.4967 MB / 0.7395 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.7082, allocations: 0.7364 MB / 0.7402 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.7084, allocations: 33.94 kB / 0.7402 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.7085, allocations: 23.44 kB / 0.7402 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.7085, allocations: 0 / 0.7402 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.00598/0.7145, allocations: 2.788 MB / 0.743 GB, free: 11.81 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: