Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 252.6 MB / 265.2 MB, free: 5.699 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 181.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 100.5 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.901e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2098, allocations: 106.3 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.105, allocations: 131.9 MB / 1.024 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.105, allocations: 75.81 kB / 1.024 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01423/1.119, allocations: 2.65 MB / 1.026 GB, free: 288 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.119, allocations: 0 / 1.026 GB, free: 288 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.352e-05/1.119, allocations: 8 kB / 1.026 GB, free: 280 kB / 0.6355 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.00174/1.121, allocations: 0.522 MB / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.121, allocations: 12.02 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/1.121, allocations: 23.72 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/1.122, allocations: 249.3 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/1.122, allocations: 14.75 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/1.122, allocations: 15.56 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/1.122, allocations: 209.5 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.122, allocations: 0 / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/1.123, allocations: 15.86 kB / 1.027 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.123, allocations: 4 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/1.123, allocations: 168 kB / 1.028 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/1.126, allocations: 0.6945 MB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/1.126, allocations: 175.9 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/1.126, allocations: 119.3 kB / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/1.126, allocations: 4 kB / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/1.127, allocations: 223.2 kB / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.897e-06/1.127, allocations: 0 / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.000981/1.128, allocations: 318.7 kB / 1.029 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.128, allocations: 62.7 kB / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.128, allocations: 169.7 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/1.129, allocations: 35.95 kB / 1.029 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.129, allocations: 138.8 kB / 1.029 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/1.129, allocations: 56.33 kB / 1.029 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/1.129, allocations: 10.12 kB / 1.029 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.129, allocations: 340 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/1.129, allocations: 96.92 kB / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/1.13, allocations: 98.73 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/1.13, allocations: 93.97 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.13, allocations: 0 / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007859/1.131, allocations: 280.7 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.131, allocations: 9.094 kB / 1.03 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.131, allocations: 4 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.131, allocations: 3.938 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/1.132, allocations: 91.8 kB / 1.03 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.132, allocations: 4 kB / 1.03 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/1.132, allocations: 78.19 kB / 1.031 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.132, allocations: 8 kB / 1.031 GB, free: 12.49 MB / 0.6511 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 () * 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.0002016/1.133, allocations: 145.3 kB / 1.031 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/1.133, allocations: 15.81 kB / 1.031 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/1.133, allocations: 29.55 kB / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.133, allocations: 4 kB / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.133, allocations: 0 / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.133, allocations: 0 / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.134, allocations: 0.6847 MB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.134, allocations: 0 / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/1.135, allocations: 67.69 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.135, allocations: 0 / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/1.135, allocations: 11.17 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.135, allocations: 0 / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.135, allocations: 4.703 kB / 1.031 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/1.136, allocations: 428.7 kB / 1.032 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/1.136, allocations: 92.86 kB / 1.032 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/1.136, allocations: 7.812 kB / 1.032 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/1.137, allocations: 57.62 kB / 1.032 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.137, allocations: 49.84 kB / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/1.137, allocations: 15.73 kB / 1.032 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001675/1.137, allocations: 129.6 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.137, allocations: 0 / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004571/1.138, allocations: 59.53 kB / 1.032 GB, free: 10.88 MB / 0.6511 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) * 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.0002355/1.138, allocations: 126 kB / 1.032 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008194/1.139, allocations: 259.7 kB / 1.033 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.139, allocations: 0 / 1.033 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/1.139, allocations: 146.4 kB / 1.033 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/1.14, allocations: 28.5 kB / 1.033 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/1.141, allocations: 347.3 kB / 1.033 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/1.142, allocations: 0.7434 MB / 1.034 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003142/1.142, allocations: 34.06 kB / 1.034 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/1.142, allocations: 22.44 kB / 1.034 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.142, allocations: 0 / 1.034 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of Templates: time 0.00999/1.152, allocations: 2.794 MB / 1.037 GB, free: 6.566 MB / 0.6511 GB