Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.773/4.773, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002499/0.002499, allocations: 352 kB / 0.6446 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.204/4.204, allocations: 410.7 MB / 1.113 GB, free: 6.027 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.001872/0.001871, allocations: 187.5 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.000489, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7229, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.72/7.443, allocations: 2.314 GB / 3.775 GB, free: 91.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/7.443, allocations: 91.42 kB / 3.775 GB, free: 90.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.699/11.14, allocations: 0.6474 GB / 4.423 GB, free: 167.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.865e-06/11.14, allocations: 0 / 4.423 GB, free: 167.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001658/11.14, allocations: 31.98 kB / 4.423 GB, free: 167.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006751/11.15, allocations: 1.57 MB / 4.424 GB, free: 166.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/11.15, allocations: 15.61 kB / 4.424 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/11.15, allocations: 0.5425 MB / 4.425 GB, free: 165.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/11.2, allocations: 12.27 MB / 4.437 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002248/11.2, allocations: 321.2 kB / 4.437 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/11.2, allocations: 71.94 kB / 4.437 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004397/11.2, allocations: 1.171 MB / 4.438 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/11.2, allocations: 8 kB / 4.438 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/11.2, allocations: 28 kB / 4.438 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/11.2, allocations: 25.31 kB / 4.438 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005904/11.21, allocations: 1.239 MB / 4.44 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/11.22, allocations: 3.246 MB / 4.443 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/11.22, allocations: 0.7037 MB / 4.443 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/11.22, allocations: 434.9 kB / 4.444 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/11.22, allocations: 1.029 MB / 4.445 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/11.23, allocations: 0.5385 MB / 4.445 GB, free: 144.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.306e-06/11.23, allocations: 0 / 4.445 GB, free: 144.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.004931/11.23, allocations: 1.282 MB / 4.447 GB, free: 142.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/11.23, allocations: 162.6 kB / 4.447 GB, free: 142.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/11.23, allocations: 1.211 MB / 4.448 GB, free: 141.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/11.23, allocations: 41.7 kB / 4.448 GB, free: 141.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/11.23, allocations: 441.7 kB / 4.448 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/11.23, allocations: 193.3 kB / 4.449 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/11.23, allocations: 12 kB / 4.449 GB, free: 140.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/11.23, allocations: 326 kB / 4.449 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/11.24, allocations: 492.9 kB / 4.449 GB, free: 139.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/11.24, allocations: 0.6826 MB / 4.45 GB, free: 139.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/11.24, allocations: 0.5622 MB / 4.451 GB, free: 138.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/11.24, allocations: 4 kB / 4.451 GB, free: 138.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005843/11.25, allocations: 1.311 MB / 4.452 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/11.25, allocations: 41.69 kB / 4.452 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/11.25, allocations: 0 / 4.452 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/11.25, allocations: 11.95 kB / 4.452 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/11.25, allocations: 215.9 kB / 4.452 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/11.25, allocations: 8 kB / 4.452 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/11.25, allocations: 314.8 kB / 4.453 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/11.25, allocations: 51.97 kB / 4.453 GB, free: 136.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0008482/11.25, allocations: 323.5 kB / 4.453 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/11.25, allocations: 118.6 kB / 4.453 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/11.26, allocations: 1.042 MB / 4.454 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/11.26, allocations: 7.953 kB / 4.454 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/11.26, allocations: 7.984 kB / 4.454 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/11.26, allocations: 0 / 4.454 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/11.27, allocations: 3.359 MB / 4.457 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/11.27, allocations: 8 kB / 4.457 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/11.27, allocations: 128 kB / 4.457 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/11.27, allocations: 15.98 kB / 4.457 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/11.27, allocations: 24 kB / 4.457 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/11.27, allocations: 19.92 kB / 4.458 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.138e-06/11.27, allocations: 11.94 kB / 4.458 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/11.27, allocations: 1.409 MB / 4.459 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/11.27, allocations: 339.3 kB / 4.459 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/11.27, allocations: 24 kB / 4.459 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/11.27, allocations: 123.9 kB / 4.459 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/11.27, allocations: 63.66 kB / 4.459 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/11.27, allocations: 47.97 kB / 4.459 GB, free: 129.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002582/11.28, allocations: 0.8831 MB / 4.46 GB, free: 128.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/11.28, allocations: 0 / 4.46 GB, free: 128.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002463/11.28, allocations: 439.8 kB / 4.461 GB, free: 127.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.002914/11.28, allocations: 1.587 MB / 4.462 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004312/11.29, allocations: 1.06 MB / 4.463 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/11.29, allocations: 4 kB / 4.463 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/11.29, allocations: 0.5266 MB / 4.464 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/11.29, allocations: 0.5443 MB / 4.464 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/11.3, allocations: 2.303 MB / 4.467 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/11.3, allocations: 1.085 MB / 4.468 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002125/11.3, allocations: 288.1 kB / 4.468 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/11.3, allocations: 83.41 kB / 4.468 GB, free: 120.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.173e-06/11.3, allocations: 4 kB / 4.468 GB, free: 120.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1293/11.43, allocations: 37.03 MB / 4.504 GB, free: 83.46 MB / 0.948 GB