Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 176.8 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 96.77 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.798e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.7076, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.9011, allocations: 138.7 MB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.9013, allocations: 71.95 kB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.9155, allocations: 4.828 MB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9155, allocations: 3.938 kB / 1.111 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.9155, allocations: 7.938 kB / 1.111 GB, free: 8.297 MB / 0.7136 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.0009419/0.9165, allocations: 0.5702 MB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.9166, allocations: 8.031 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.9167, allocations: 35.7 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.9172, allocations: 282.5 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.9172, allocations: 17.25 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.9173, allocations: 27.98 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.9177, allocations: 197.3 kB / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9177, allocations: 0 / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.9178, allocations: 11.98 kB / 1.112 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9178, allocations: 8 kB / 1.112 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.9181, allocations: 160 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.9195, allocations: 0.7676 MB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.9198, allocations: 171.9 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.92, allocations: 109.2 kB / 1.113 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.92, allocations: 4.188 kB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.9204, allocations: 219.4 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.9204, allocations: 0 / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0006787/0.9211, allocations: 331.9 kB / 1.114 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.9212, allocations: 59.41 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.9214, allocations: 199.1 kB / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.9215, allocations: 33.7 kB / 1.114 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.9216, allocations: 148.6 kB / 1.114 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.9217, allocations: 67.03 kB / 1.114 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.9217, allocations: 10.62 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9219, allocations: 338.8 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.9222, allocations: 136 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.9225, allocations: 188.9 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.9228, allocations: 199.2 kB / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9228, allocations: 0 / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000734/0.9236, allocations: 456.8 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.9236, allocations: 67.39 kB / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9236, allocations: 0 / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9237, allocations: 4 kB / 1.116 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.924, allocations: 67.89 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.924, allocations: 1.938 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.9245, allocations: 111.9 kB / 1.116 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.9246, allocations: 19.98 kB / 1.116 GB, free: 3.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001562/0.9247, allocations: 143.4 kB / 1.116 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.9248, allocations: 23.72 kB / 1.116 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.9248, allocations: 30.55 kB / 1.116 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9249, allocations: 4 kB / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.9249, allocations: 0 / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9249, allocations: 0 / 1.116 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.9258, allocations: 0.7251 MB / 1.117 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9258, allocations: 0 / 1.117 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.926, allocations: 43.95 kB / 1.117 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.926, allocations: 7.938 kB / 1.117 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.9261, allocations: 4 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.9261, allocations: 7.984 kB / 1.117 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9261, allocations: 0 / 1.117 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.9266, allocations: 429.9 kB / 1.117 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.9267, allocations: 102.5 kB / 1.117 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.9268, allocations: 7.984 kB / 1.117 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.927, allocations: 35.97 kB / 1.117 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.9271, allocations: 27.95 kB / 1.117 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.9271, allocations: 15.98 kB / 1.117 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001324/0.9273, allocations: 149.6 kB / 1.118 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9273, allocations: 0 / 1.118 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003614/0.9276, allocations: 79.92 kB / 1.118 GB, free: 1.16 MB / 0.7136 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0002098/0.9279, allocations: 123.2 kB / 1.118 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006616/0.9285, allocations: 455.1 kB / 1.118 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9285, allocations: 0.7188 kB / 1.118 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.9288, allocations: 152.4 kB / 1.118 GB, free: 420 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.9291, allocations: 47.89 kB / 1.118 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.9299, allocations: 359 kB / 1.119 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.9303, allocations: 0.7598 MB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.9304, allocations: 34.06 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.9305, allocations: 23.38 kB / 1.12 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9305, allocations: 0 / 1.12 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.007586/0.9381, allocations: 3.761 MB / 1.123 GB, free: 11.5 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)