Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 252 MB / 267.9 MB, free: 10.93 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.001015/0.001015, allocations: 183.2 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.5785 GB, free: 20.54 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.0007979/0.0007983, allocations: 94.55 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 13 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1853, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.3405, allocations: 132.2 MB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3408, allocations: 83.88 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007685/0.3485, allocations: 2.642 MB / 1.033 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3485, allocations: 4 kB / 1.033 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.3486, allocations: 4 kB / 1.033 GB, free: 9 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.001047/0.3496, allocations: 0.5515 MB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3497, allocations: 12.03 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.3497, allocations: 24.66 kB / 1.034 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3501, allocations: 248 kB / 1.034 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.3501, allocations: 12.38 kB / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.3502, allocations: 20.36 kB / 1.034 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.3509, allocations: 313.4 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3509, allocations: 4.188 kB / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.351, allocations: 15.92 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.351, allocations: 4 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.3519, allocations: 343.7 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3532, allocations: 0.6948 MB / 1.035 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.354, allocations: 312.4 kB / 1.035 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.3545, allocations: 208.7 kB / 1.036 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3546, allocations: 4 kB / 1.036 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/0.3552, allocations: 312.9 kB / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.3552, allocations: 0 / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001647/0.3569, allocations: 0.6854 MB / 1.037 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3569, allocations: 59.41 kB / 1.037 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3571, allocations: 190.2 kB / 1.037 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3572, allocations: 37.7 kB / 1.037 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.3573, allocations: 124.5 kB / 1.037 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.3573, allocations: 86.95 kB / 1.037 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.3574, allocations: 4 kB / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3575, allocations: 328.5 kB / 1.037 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.358, allocations: 191.8 kB / 1.038 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.3585, allocations: 201 kB / 1.038 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.3594, allocations: 376.9 kB / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3594, allocations: 4 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001046/0.3604, allocations: 464.8 kB / 1.039 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3605, allocations: 6.5 kB / 1.039 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3605, allocations: 4 kB / 1.039 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3605, allocations: 3.938 kB / 1.039 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.3609, allocations: 95.86 kB / 1.039 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3609, allocations: 0 / 1.039 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3612, allocations: 67.78 kB / 1.039 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3613, allocations: 12 kB / 1.039 GB, free: 2.84 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.0001533/0.3614, allocations: 155.5 kB / 1.039 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3615, allocations: 31.69 kB / 1.039 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.3615, allocations: 26.5 kB / 1.039 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3615, allocations: 0 / 1.039 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3616, allocations: 0 / 1.039 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3616, allocations: 3.984 kB / 1.039 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.363, allocations: 0.866 MB / 1.04 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3631, allocations: 3.938 kB / 1.04 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.3633, allocations: 67.94 kB / 1.04 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3633, allocations: 8 kB / 1.04 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3634, allocations: 0 / 1.04 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3634, allocations: 4 kB / 1.04 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3634, allocations: 0 / 1.04 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.3645, allocations: 0.5929 MB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.3646, allocations: 108.7 kB / 1.041 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3647, allocations: 4 kB / 1.041 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.365, allocations: 59.92 kB / 1.041 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3651, allocations: 43.94 kB / 1.041 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3651, allocations: 11.98 kB / 1.041 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000105/0.3653, allocations: 131.2 kB / 1.041 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3653, allocations: 0 / 1.041 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000292/0.3656, allocations: 60 kB / 1.041 GB, free: 0.5781 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.0001846/0.3658, allocations: 115.2 kB / 1.041 GB, free: 464 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.3669, allocations: 455.5 kB / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3669, allocations: 0 / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.3675, allocations: 235.8 kB / 1.042 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3679, allocations: 38.27 kB / 1.042 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.369, allocations: 0.4966 MB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3693, allocations: 0.7362 MB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.3695, allocations: 41.92 kB / 1.043 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.3696, allocations: 19.44 kB / 1.043 GB, free: 14.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.3696, allocations: 0 / 1.043 GB, free: 14.4 MB / 0.698 GB Notification: Performance of Templates: time 0.005967/0.3756, allocations: 2.795 MB / 1.046 GB, free: 11.62 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)