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.35/2.35, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 182.9 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001116/0.001116, allocations: 96.12 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 8.906 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.4774, allocations: 132 MB / 1.028 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4778, allocations: 71.95 kB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4912, allocations: 2.653 MB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4912, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.4913, allocations: 0 / 1.03 GB, free: 11.09 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.001717/0.493, allocations: 0.5591 MB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4931, allocations: 8.031 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.4932, allocations: 23.72 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.4937, allocations: 242.9 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.4937, allocations: 12 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.4938, allocations: 23.98 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4951, allocations: 297.2 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4952, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.4952, allocations: 15.98 kB / 1.032 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4953, allocations: 4 kB / 1.032 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.4971, allocations: 351.7 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.4996, allocations: 0.7025 MB / 1.033 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5013, allocations: 312.2 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.5014, allocations: 4 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.5028, allocations: 316.8 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 5.611e-06/0.5028, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003477/0.5063, allocations: 0.6804 MB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.5064, allocations: 59.39 kB / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.5067, allocations: 177.2 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.5068, allocations: 33.7 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5069, allocations: 128.5 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.507, allocations: 71.09 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.5071, allocations: 4 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5072, allocations: 338.7 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.5083, allocations: 191.9 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009971/0.5093, allocations: 197 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.5103, allocations: 188.3 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5103, allocations: 3.938 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002188/0.5125, allocations: 468.8 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5125, allocations: 4 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5126, allocations: 7.938 kB / 1.036 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5126, allocations: 0 / 1.036 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.5134, allocations: 91.86 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5134, allocations: 8 kB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.5141, allocations: 59.84 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.5141, allocations: 12 kB / 1.036 GB, free: 5.348 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.0002671/0.5144, allocations: 160.5 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.5145, allocations: 23.7 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.5146, allocations: 22.56 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5146, allocations: 4 kB / 1.036 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5146, allocations: 0 / 1.036 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5146, allocations: 3.984 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.518, allocations: 0.8708 MB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.518, allocations: 0 / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.5186, allocations: 67.94 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5186, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.5187, allocations: 4 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5187, allocations: 0 / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5187, allocations: 0 / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.5211, allocations: 0.6017 MB / 1.038 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5213, allocations: 108.7 kB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.5213, allocations: 7.938 kB / 1.038 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.522, allocations: 63.92 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.5222, allocations: 39.94 kB / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5222, allocations: 15.98 kB / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001793/0.5224, allocations: 131.4 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5224, allocations: 0 / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000426/0.5229, allocations: 55.98 kB / 1.038 GB, free: 3.086 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.0002229/0.5231, allocations: 123 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.5253, allocations: 447.6 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5254, allocations: 0 / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5265, allocations: 235.8 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.527, allocations: 36.05 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.5286, allocations: 496.7 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.529, allocations: 0.7481 MB / 1.04 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.5293, allocations: 37.94 kB / 1.04 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5294, allocations: 19.42 kB / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.5294, allocations: 3.938 kB / 1.04 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of Templates: time 0.009362/0.5388, allocations: 2.762 MB / 1.043 GB, free: 14.16 MB / 0.698 GB