Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.064/5.064, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002414, allocations: 358.1 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.346/4.346, allocations: 410.7 MB / 1.112 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 176.4 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005042, allocations: 12 kB / 1.348 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6292, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001039/0.6303, allocations: 0.7222 MB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.632, allocations: 1.276 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.6322, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.6323, allocations: 11.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.283e-05/0.6324, allocations: 34.47 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.6332, allocations: 223.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.6335, allocations: 327.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.6337, allocations: 59.73 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.6338, allocations: 115.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.634, allocations: 131.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.6341, allocations: 16 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.6342, allocations: 31.92 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.6343, allocations: 51.81 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.6344, allocations: 67.83 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.6347, allocations: 313.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.563e-06/0.6347, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.907e-06/0.6347, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.591e-06/0.6347, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 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.0009559/0.6357, allocations: 0.5839 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6357, allocations: 15.62 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.6358, allocations: 32.17 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6362, allocations: 274.5 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.6362, allocations: 16.69 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.6363, allocations: 23.62 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.637, allocations: 258.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.637, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.6371, allocations: 11.98 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-06/0.6371, allocations: 5.094 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.638, allocations: 268.9 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.6394, allocations: 0.7678 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.6401, allocations: 231.5 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.6406, allocations: 163.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.6406, allocations: 5.438 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.6417, allocations: 273.7 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 5.378e-06/0.6417, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.001968/0.6437, allocations: 0.5814 MB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.6438, allocations: 67.33 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.644, allocations: 222.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.6441, allocations: 37.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.6442, allocations: 136.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.6442, allocations: 71.09 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.6443, allocations: 8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.6444, allocations: 331.4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.6451, allocations: 203 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.6458, allocations: 236.4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.6464, allocations: 255.7 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.964e-06/0.6464, allocations: 4.562 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001469/0.6479, allocations: 0.5573 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.648, allocations: 67.39 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-06/0.648, allocations: 4.562 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.648, allocations: 0.5938 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.6484, allocations: 69.95 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.517e-06/0.6484, allocations: 0 / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.649, allocations: 120.8 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.6491, allocations: 21.83 kB / 1.47 GB, free: 274.9 MB / 0.8542 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.0002289/0.6493, allocations: 164.2 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.6494, allocations: 31.22 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.6495, allocations: 27.95 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.623e-06/0.6495, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-06/0.6495, allocations: 7.938 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-06/0.6495, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.651, allocations: 0.8291 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-06/0.651, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.6513, allocations: 46.19 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-06/0.6513, allocations: 7.984 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.6514, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6514, allocations: 5.281 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.768e-06/0.6514, allocations: 3.953 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6526, allocations: 0.5279 MB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.6526, allocations: 104.8 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.6527, allocations: 5.812 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.653, allocations: 38.7 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.6531, allocations: 23.97 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.6532, allocations: 19.94 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001592/0.6533, allocations: 152.9 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.04e-07/0.6533, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005185/0.6539, allocations: 75.89 kB / 1.472 GB, free: 272.8 MB / 0.8542 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.0001704/0.6541, allocations: 122.4 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.6554, allocations: 0.5546 MB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.526e-06/0.6554, allocations: 2.062 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.656, allocations: 193.5 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.6566, allocations: 44.38 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6576, allocations: 0.5361 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.6578, allocations: 0.7548 MB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.658, allocations: 35.69 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.6581, allocations: 28.02 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.879e-06/0.6582, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.008837/0.667, allocations: 3.76 MB / 1.478 GB, free: 266.9 MB / 0.8542 GB