Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002491/0.002496, allocations: 357.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.412/1.412, allocations: 165.8 MB / 183.1 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.6/3.6, allocations: 410.7 MB / 0.6001 GB, free: 15.1 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.00177, allocations: 193.7 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 15.98 kB / 0.7429 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3978, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.476/6.874, allocations: 2.275 GB / 3.084 GB, free: 36.09 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/6.874, allocations: 87.95 kB / 3.084 GB, free: 36.04 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.222/10.1, allocations: 0.6473 GB / 3.732 GB, free: 46.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.423e-06/10.1, allocations: 4.188 kB / 3.732 GB, free: 46.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001141/10.1, allocations: 31.98 kB / 3.732 GB, free: 46.84 MB / 0.573 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.005905/10.1, allocations: 1.566 MB / 3.733 GB, free: 45.21 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/10.1, allocations: 11.97 kB / 3.733 GB, free: 45.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/10.11, allocations: 0.5331 MB / 3.734 GB, free: 44.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03651/10.14, allocations: 12.29 MB / 3.746 GB, free: 32.21 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002182/10.15, allocations: 321.2 kB / 3.746 GB, free: 31.9 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/10.15, allocations: 71.98 kB / 3.746 GB, free: 31.83 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/10.15, allocations: 1.171 MB / 3.747 GB, free: 30.62 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/10.15, allocations: 0 / 3.747 GB, free: 30.62 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/10.15, allocations: 28 kB / 3.747 GB, free: 30.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/10.15, allocations: 29.31 kB / 3.747 GB, free: 30.56 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/10.16, allocations: 1.235 MB / 3.748 GB, free: 29.33 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009194/10.17, allocations: 3.263 MB / 3.752 GB, free: 25.99 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/10.17, allocations: 0.7115 MB / 3.752 GB, free: 25.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/10.17, allocations: 437 kB / 3.753 GB, free: 24.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/10.17, allocations: 1.029 MB / 3.754 GB, free: 23.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/10.17, allocations: 0.5424 MB / 3.754 GB, free: 23.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=59): time 3.627e-06/10.17, allocations: 0 / 3.754 GB, free: 23.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=59): time 0.004802/10.18, allocations: 1.264 MB / 3.755 GB, free: 21.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/10.18, allocations: 170.5 kB / 3.756 GB, free: 21.55 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/10.18, allocations: 1.203 MB / 3.757 GB, free: 20.33 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002194/10.18, allocations: 41.7 kB / 3.757 GB, free: 20.28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/10.18, allocations: 433.8 kB / 3.757 GB, free: 19.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/10.18, allocations: 205.2 kB / 3.757 GB, free: 19.65 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/10.18, allocations: 8 kB / 3.757 GB, free: 19.64 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/10.18, allocations: 330 kB / 3.758 GB, free: 19.31 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/10.18, allocations: 488.9 kB / 3.758 GB, free: 18.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/10.19, allocations: 0.6904 MB / 3.759 GB, free: 18.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/10.19, allocations: 0.5541 MB / 3.759 GB, free: 17.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/10.19, allocations: 0 / 3.759 GB, free: 17.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005525/10.19, allocations: 1.314 MB / 3.761 GB, free: 16.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/10.19, allocations: 38.48 kB / 3.761 GB, free: 16.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.19, allocations: 4.156 kB / 3.761 GB, free: 16.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/10.19, allocations: 12 kB / 3.761 GB, free: 16.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/10.2, allocations: 215.7 kB / 3.761 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/10.2, allocations: 8 kB / 3.761 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/10.2, allocations: 306.8 kB / 3.761 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/10.2, allocations: 51.44 kB / 3.761 GB, free: 15.55 MB / 0.573 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.000759/10.2, allocations: 329.8 kB / 3.762 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/10.2, allocations: 122.5 kB / 3.762 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/10.2, allocations: 1.033 MB / 3.763 GB, free: 14.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/10.2, allocations: 11.92 kB / 3.763 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/10.2, allocations: 4 kB / 3.763 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/10.21, allocations: 4 kB / 3.763 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/10.21, allocations: 3.359 MB / 3.766 GB, free: 10.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/10.21, allocations: 4 kB / 3.766 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/10.21, allocations: 131.8 kB / 3.766 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/10.21, allocations: 16.19 kB / 3.766 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/10.21, allocations: 27.98 kB / 3.766 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/10.21, allocations: 11.94 kB / 3.766 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/10.21, allocations: 15.94 kB / 3.766 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/10.22, allocations: 1.419 MB / 3.768 GB, free: 8.777 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/10.22, allocations: 339.3 kB / 3.768 GB, free: 8.426 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/10.22, allocations: 20 kB / 3.768 GB, free: 8.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/10.22, allocations: 131.9 kB / 3.768 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/10.22, allocations: 63.78 kB / 3.768 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/10.22, allocations: 43.97 kB / 3.768 GB, free: 8.172 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002502/10.22, allocations: 0.8754 MB / 3.769 GB, free: 7.289 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.81e-07/10.22, allocations: 0 / 3.769 GB, free: 7.289 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002329/10.23, allocations: 431.8 kB / 3.769 GB, free: 6.867 MB / 0.573 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.002773/10.23, allocations: 1.598 MB / 3.771 GB, free: 5.227 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004148/10.23, allocations: 1.057 MB / 3.772 GB, free: 4.152 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/10.23, allocations: 4.062 kB / 3.772 GB, free: 4.148 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/10.24, allocations: 0.5281 MB / 3.773 GB, free: 3.609 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/10.24, allocations: 0.5425 MB / 3.773 GB, free: 3.07 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/10.25, allocations: 2.3 MB / 3.775 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/10.25, allocations: 1.093 MB / 3.776 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002144/10.25, allocations: 288.1 kB / 3.777 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/10.25, allocations: 83.41 kB / 3.777 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of SimCode: time 1.372e-06/10.25, allocations: 0 / 3.777 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.5265/10.78, allocations: 37.03 MB / 3.813 GB, free: 87.29 MB / 0.5886 GB