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.734/1.734, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.001581/0.00158, allocations: 181 kB / 377.1 MB, free: 1.492 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.868/1.868, allocations: 205.4 MB / 0.6367 GB, free: 8.469 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.0009323/0.0009332, allocations: 91.94 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004051, allocations: 8 kB / 0.8748 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3598, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8449/1.205, allocations: 139.7 MB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.205, allocations: 75.72 kB / 1.125 GB, free: 35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01384/1.219, allocations: 4.837 MB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/1.219, allocations: 3.938 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.219, allocations: 4 kB / 1.13 GB, free: 31.63 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.001082/1.22, allocations: 0.6101 MB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.22, allocations: 8.031 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/1.22, allocations: 37.3 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/1.221, allocations: 275.1 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/1.221, allocations: 23.38 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/1.221, allocations: 20 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/1.222, allocations: 267.3 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.222, allocations: 1.562 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/1.222, allocations: 11.23 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/1.222, allocations: 4 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/1.222, allocations: 276.3 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.224, allocations: 0.7653 MB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/1.224, allocations: 225.6 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/1.224, allocations: 9.344 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/1.225, allocations: 270.5 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 2.414e-06/1.225, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.001477/1.226, allocations: 0.5879 MB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.226, allocations: 56.11 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/1.227, allocations: 197.3 kB / 1.133 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/1.227, allocations: 42.41 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.227, allocations: 139.4 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/1.227, allocations: 63.67 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/1.227, allocations: 12 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/1.227, allocations: 330.8 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/1.228, allocations: 197 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/1.228, allocations: 241.9 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/1.229, allocations: 245.5 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.229, allocations: 3.953 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001244/1.23, allocations: 0.5615 MB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/1.23, allocations: 75.41 kB / 1.135 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.23, allocations: 1.344 kB / 1.135 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.23, allocations: 4 kB / 1.135 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/1.23, allocations: 60.73 kB / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.23, allocations: 4.703 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/1.231, allocations: 121 kB / 1.135 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/1.231, allocations: 15.09 kB / 1.135 GB, free: 26.47 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.0002152/1.231, allocations: 161.3 kB / 1.135 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/1.231, allocations: 36.33 kB / 1.135 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/1.231, allocations: 22.12 kB / 1.135 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.231, allocations: 7.938 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.231, allocations: 0.5625 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.231, allocations: 1.078 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.233, allocations: 0.8241 MB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.233, allocations: 0 / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.233, allocations: 43.16 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.233, allocations: 0 / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.233, allocations: 10.78 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.233, allocations: 1.359 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.233, allocations: 0 / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/1.234, allocations: 0.5344 MB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/1.234, allocations: 98.09 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/1.234, allocations: 5.359 kB / 1.137 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/1.234, allocations: 38.84 kB / 1.137 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.234, allocations: 24.05 kB / 1.137 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.234, allocations: 14.48 kB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001399/1.235, allocations: 159.1 kB / 1.137 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/1.235, allocations: 0 / 1.137 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003849/1.235, allocations: 74.19 kB / 1.137 GB, free: 24.59 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.0002125/1.235, allocations: 132 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.236, allocations: 0.5597 MB / 1.138 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.236, allocations: 4.906 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/1.237, allocations: 197.1 kB / 1.138 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.237, allocations: 50 kB / 1.138 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/1.238, allocations: 0.5399 MB / 1.139 GB, free: 23.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/1.238, allocations: 0.7494 MB / 1.139 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001492/1.238, allocations: 39.48 kB / 1.139 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/1.238, allocations: 20.23 kB / 1.139 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.163e-06/1.238, allocations: 0 / 1.139 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.008369/1.247, allocations: 3.746 MB / 1.143 GB, free: 20.39 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)