Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.11/2.11, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 183.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009805/0.0009802, allocations: 79.94 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006534, allocations: 11.72 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.212, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.468, allocations: 131.9 MB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4684, allocations: 75.95 kB / 1.028 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.4825, allocations: 2.651 MB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4826, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.4826, allocations: 4 kB / 1.031 GB, free: 10.7 MB / 0.6823 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.001862/0.4845, allocations: 0.5515 MB / 1.032 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4845, allocations: 12.03 kB / 1.032 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.4846, allocations: 24.66 kB / 1.032 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.4852, allocations: 248.1 kB / 1.032 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.4852, allocations: 12.38 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.4853, allocations: 20.36 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4867, allocations: 309.7 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4868, allocations: 192 / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.4868, allocations: 15.92 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4869, allocations: 8 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4888, allocations: 343.7 kB / 1.033 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.4914, allocations: 0.6908 MB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.493, allocations: 314.3 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.4941, allocations: 208.7 kB / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4942, allocations: 0 / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.4956, allocations: 324.8 kB / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.327e-06/0.4956, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003604/0.4992, allocations: 0.6882 MB / 1.035 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.4993, allocations: 63.39 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.4996, allocations: 186.1 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.4997, allocations: 37.7 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4998, allocations: 128.5 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.4999, allocations: 63.11 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.5, allocations: 8 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5002, allocations: 334.8 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.5012, allocations: 191.8 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5023, allocations: 197 kB / 1.036 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5034, allocations: 184.3 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5034, allocations: 7.938 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002282/0.5057, allocations: 472.8 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.5058, allocations: 4 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5058, allocations: 0 / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5058, allocations: 3.938 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/0.5067, allocations: 95.86 kB / 1.037 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5067, allocations: 0 / 1.037 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.5074, allocations: 71.78 kB / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5074, allocations: 8 kB / 1.037 GB, free: 4.73 MB / 0.6823 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.0002856/0.5077, allocations: 155.5 kB / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.5078, allocations: 19.72 kB / 1.037 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.5079, allocations: 30.5 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5079, allocations: 4 kB / 1.037 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.508, allocations: 7.922 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.508, allocations: 0 / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.5109, allocations: 0.8631 MB / 1.038 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.5109, allocations: 3.938 kB / 1.038 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.5115, allocations: 63.94 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5115, allocations: 0 / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.5116, allocations: 8 kB / 1.038 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5116, allocations: 3.938 kB / 1.038 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.5116, allocations: 7.984 kB / 1.038 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.5141, allocations: 0.5993 MB / 1.038 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5143, allocations: 100.7 kB / 1.038 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.5144, allocations: 11.98 kB / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.515, allocations: 59.94 kB / 1.039 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.5153, allocations: 43.92 kB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.5153, allocations: 4 kB / 1.039 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001846/0.5155, allocations: 135.4 kB / 1.039 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5155, allocations: 0 / 1.039 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004537/0.516, allocations: 64 kB / 1.039 GB, free: 2.465 MB / 0.6823 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.0002331/0.5162, allocations: 118.9 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.5186, allocations: 447.6 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5187, allocations: 0 / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.5199, allocations: 235.8 kB / 1.04 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.5205, allocations: 39.91 kB / 1.04 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.5222, allocations: 496.7 kB / 1.04 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.5227, allocations: 0.7478 MB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000304/0.5231, allocations: 37.92 kB / 1.041 GB, free: 312 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.5232, allocations: 19.44 kB / 1.041 GB, free: 296 kB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/0.5232, allocations: 0 / 1.041 GB, free: 296 kB / 0.6823 GB Notification: Performance of Templates: time 0.009939/0.5332, allocations: 2.791 MB / 1.044 GB, free: 13.51 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)