Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 293 MB / 309 MB, free: 4.832 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.001096/0.001096, allocations: 187.9 kB / 378.7 MB, free: 1.031 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.72/1.72, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007791/0.000779, allocations: 100.4 kB / 0.7527 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003966, allocations: 16 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2719, allocations: 116.4 MB / 0.9905 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7181/0.99, allocations: 139.8 MB / 1.127 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.9903, allocations: 78.73 kB / 1.127 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01256/1.003, allocations: 4.851 MB / 1.132 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/1.003, allocations: 0 / 1.132 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.226e-05/1.003, allocations: 4 kB / 1.132 GB, free: 30.88 MB / 0.7292 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.000854/1.004, allocations: 0.608 MB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.004, allocations: 8.031 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/1.004, allocations: 33.16 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/1.004, allocations: 286.5 kB / 1.133 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/1.004, allocations: 19.66 kB / 1.133 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/1.004, allocations: 24.38 kB / 1.133 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/1.005, allocations: 264.3 kB / 1.133 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.005, allocations: 192 / 1.133 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/1.005, allocations: 15.83 kB / 1.133 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.005, allocations: 4 kB / 1.133 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/1.006, allocations: 272.5 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/1.007, allocations: 0.7606 MB / 1.134 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/1.007, allocations: 226.5 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/1.008, allocations: 166.7 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/1.008, allocations: 15.88 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/1.008, allocations: 267.6 kB / 1.135 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/1.008, allocations: 0 / 1.135 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.00129/1.01, allocations: 0.5877 MB / 1.135 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/1.01, allocations: 61.17 kB / 1.135 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/1.01, allocations: 222.4 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/1.01, allocations: 42.27 kB / 1.136 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/1.01, allocations: 131.5 kB / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/1.01, allocations: 64.08 kB / 1.136 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/1.01, allocations: 12 kB / 1.136 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/1.01, allocations: 338.8 kB / 1.136 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/1.011, allocations: 197.9 kB / 1.136 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/1.011, allocations: 241.5 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/1.012, allocations: 416.1 kB / 1.137 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.012, allocations: 3.938 kB / 1.137 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001044/1.013, allocations: 0.563 MB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.013, allocations: 67.06 kB / 1.137 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.013, allocations: 8.875 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.013, allocations: 0 / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/1.013, allocations: 68.48 kB / 1.138 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.013, allocations: 0.6094 kB / 1.138 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.014, allocations: 116.8 kB / 1.138 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.014, allocations: 19.58 kB / 1.138 GB, free: 25.38 MB / 0.7292 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 () * Number of clocked 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.0001635/1.014, allocations: 166.1 kB / 1.138 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/1.014, allocations: 26 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/1.014, allocations: 29.42 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.014, allocations: 0.7969 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.014, allocations: 4 kB / 1.138 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.014, allocations: 5.406 kB / 1.138 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/1.015, allocations: 0.8229 MB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.015, allocations: 0.9375 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.016, allocations: 46.5 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.016, allocations: 0.5156 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.016, allocations: 11.38 kB / 1.139 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.016, allocations: 0.5469 kB / 1.139 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.016, allocations: 4 kB / 1.139 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/1.016, allocations: 0.5344 MB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/1.017, allocations: 91.83 kB / 1.139 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/1.017, allocations: 10.47 kB / 1.139 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.017, allocations: 37.89 kB / 1.139 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/1.017, allocations: 27.86 kB / 1.139 GB, free: 23.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.017, allocations: 9.734 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001194/1.017, allocations: 155.9 kB / 1.14 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/1.017, allocations: 1.031 kB / 1.14 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000348/1.017, allocations: 89.52 kB / 1.14 GB, free: 23.49 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0001822/1.018, allocations: 124.1 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009927/1.019, allocations: 0.5601 MB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.019, allocations: 0 / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/1.019, allocations: 201.4 kB / 1.141 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/1.019, allocations: 44.28 kB / 1.141 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/1.02, allocations: 0.5221 MB / 1.141 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/1.021, allocations: 0.7518 MB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001375/1.021, allocations: 41.45 kB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/1.021, allocations: 19.44 kB / 1.142 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.021, allocations: 3.938 kB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.008352/1.029, allocations: 3.798 MB / 1.146 GB, free: 19.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)