Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.652/1.652, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000761/0.0007612, allocations: 97.09 kB / 0.7808 GB, free: 43.61 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 12 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5724, allocations: 120.3 MB / 1.026 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.7426, allocations: 142 MB / 1.165 GB, free: 252 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.7428, allocations: 73.02 kB / 1.165 GB, free: 180 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.7563, allocations: 4.852 MB / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7563, allocations: 4 kB / 1.17 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.7564, allocations: 4 kB / 1.17 GB, free: 11.37 MB / 0.7448 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.0009252/0.7573, allocations: 0.6059 MB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7573, allocations: 8.031 kB / 1.17 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.7574, allocations: 32.66 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.7578, allocations: 283.9 kB / 1.171 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.7579, allocations: 20.36 kB / 1.171 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.7579, allocations: 24.38 kB / 1.171 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.7585, allocations: 274 kB / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7585, allocations: 192 / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.7586, allocations: 15.94 kB / 1.171 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7586, allocations: 7.984 kB / 1.171 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.7593, allocations: 267.8 kB / 1.171 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.7605, allocations: 0.7536 MB / 1.172 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.761, allocations: 230.4 kB / 1.172 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.7614, allocations: 165.1 kB / 1.172 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.7614, allocations: 7.938 kB / 1.172 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.7619, allocations: 273 kB / 1.173 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.7619, allocations: 0 / 1.173 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001336/0.7632, allocations: 0.5956 MB / 1.173 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7633, allocations: 63.38 kB / 1.173 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.7635, allocations: 220.8 kB / 1.173 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.7636, allocations: 37.69 kB / 1.174 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.7636, allocations: 136.6 kB / 1.174 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.7637, allocations: 59.19 kB / 1.174 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.7637, allocations: 8 kB / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7639, allocations: 342.8 kB / 1.174 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.7643, allocations: 191.9 kB / 1.174 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.7648, allocations: 244.7 kB / 1.174 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.7656, allocations: 421.2 kB / 1.175 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7656, allocations: 7.938 kB / 1.175 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001094/0.7667, allocations: 0.563 MB / 1.175 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.7668, allocations: 67.39 kB / 1.175 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7668, allocations: 3.938 kB / 1.175 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.7668, allocations: 8.031 kB / 1.175 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.7671, allocations: 67.89 kB / 1.176 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7671, allocations: 0 / 1.176 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.7676, allocations: 116.5 kB / 1.176 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.7676, allocations: 23.98 kB / 1.176 GB, free: 4.992 MB / 0.7448 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.0001674/0.7678, allocations: 167.4 kB / 1.176 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.7678, allocations: 19.72 kB / 1.176 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.7679, allocations: 26.55 kB / 1.176 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7679, allocations: 4 kB / 1.176 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7679, allocations: 0 / 1.176 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7679, allocations: 1.594 kB / 1.176 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.7691, allocations: 0.8105 MB / 1.177 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7691, allocations: 3.984 kB / 1.177 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.7693, allocations: 43.97 kB / 1.177 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7693, allocations: 0 / 1.177 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.7693, allocations: 11.98 kB / 1.177 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7693, allocations: 3.938 kB / 1.177 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7693, allocations: 0 / 1.177 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.7702, allocations: 0.5354 MB / 1.177 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.7703, allocations: 92.83 kB / 1.177 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.7703, allocations: 11.98 kB / 1.177 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.7705, allocations: 31.97 kB / 1.177 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.7706, allocations: 27.95 kB / 1.177 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.7707, allocations: 19.92 kB / 1.177 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001198/0.7708, allocations: 153.6 kB / 1.178 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7708, allocations: 0 / 1.178 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003338/0.7712, allocations: 87.77 kB / 1.178 GB, free: 2.859 MB / 0.7448 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.0001664/0.7713, allocations: 123.2 kB / 1.178 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7723, allocations: 0.5612 MB / 1.178 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7724, allocations: 0 / 1.178 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.7728, allocations: 196.1 kB / 1.179 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.7732, allocations: 40.95 kB / 1.179 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.774, allocations: 0.5254 MB / 1.179 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7743, allocations: 0.7638 MB / 1.18 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.7745, allocations: 35.02 kB / 1.18 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.7745, allocations: 23.44 kB / 1.18 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7745, allocations: 0 / 1.18 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of Templates: time 0.006849/0.7814, allocations: 3.797 MB / 1.184 GB, free: 12.79 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)