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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.0009654/0.0009654, allocations: 168.9 kB / 366.7 MB, free: 1.648 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.438/1.438, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0008601/0.00086, allocations: 96.11 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7584, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.9688, allocations: 139 MB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.9691, allocations: 68.53 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.9839, allocations: 4.809 MB / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9839, allocations: 3.938 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.984, allocations: 4 kB / 1.114 GB, free: 6.41 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.0009684/0.9849, allocations: 0.5714 MB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.985, allocations: 12.03 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.9851, allocations: 27.72 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.9855, allocations: 286.6 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.9856, allocations: 16 kB / 1.115 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.9857, allocations: 23.98 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003015/0.986, allocations: 151.9 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.9863, allocations: 185.1 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9863, allocations: 0 / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.9863, allocations: 11.98 kB / 1.115 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.9864, allocations: 4 kB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.9876, allocations: 0.7231 MB / 1.116 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.9879, allocations: 158.9 kB / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.988, allocations: 105.2 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.9881, allocations: 4.188 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.9884, allocations: 207.8 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.9884, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0005492/0.989, allocations: 319.6 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.989, allocations: 59.41 kB / 1.117 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.9892, allocations: 182 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.9893, allocations: 29.7 kB / 1.117 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.9894, allocations: 136.6 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.9894, allocations: 75.05 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.9895, allocations: 4 kB / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9896, allocations: 330.8 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.9899, allocations: 136 kB / 1.117 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.9901, allocations: 168.1 kB / 1.118 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.9905, allocations: 151.6 kB / 1.118 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9905, allocations: 0 / 1.118 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007597/0.9913, allocations: 394.1 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.9914, allocations: 71.39 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9914, allocations: 0 / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.9914, allocations: 4.125 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.9917, allocations: 67.89 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9918, allocations: 4 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.9922, allocations: 103.8 kB / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.9923, allocations: 27.42 kB / 1.118 GB, free: 1.496 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.000148/0.9925, allocations: 130.8 kB / 1.118 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.9925, allocations: 27.67 kB / 1.118 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.9926, allocations: 23.17 kB / 1.118 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9926, allocations: 4 kB / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9926, allocations: 0 / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9926, allocations: 0 / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.9934, allocations: 0.6667 MB / 1.119 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9934, allocations: 0 / 1.119 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.9936, allocations: 43.91 kB / 1.119 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.9936, allocations: 3.984 kB / 1.119 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.9937, allocations: 7.938 kB / 1.119 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9937, allocations: 4 kB / 1.119 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9937, allocations: 4 kB / 1.119 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.9942, allocations: 399.2 kB / 1.12 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.9943, allocations: 112.7 kB / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.9943, allocations: 64 / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.9946, allocations: 36.02 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.9947, allocations: 31.94 kB / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.9947, allocations: 15.94 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001124/0.9948, allocations: 139.2 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9948, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003378/0.9952, allocations: 73.25 kB / 1.12 GB, free: 15.71 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) * 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.0002288/0.9954, allocations: 115.2 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.996, allocations: 447.1 kB / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.996, allocations: 0 / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.9962, allocations: 136.4 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.9966, allocations: 40.81 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.9973, allocations: 346.1 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.9976, allocations: 0.7557 MB / 1.122 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.9978, allocations: 42.05 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.9978, allocations: 23.44 kB / 1.122 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9978, allocations: 0 / 1.122 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.006664/1.005, allocations: 3.474 MB / 1.125 GB, free: 10.38 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)