Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 252.6 MB / 265.2 MB, free: 5.68 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.001487/0.001486, allocations: 178.7 kB / 324.5 MB, free: 14.34 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.026/2.026, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001542/0.001542, allocations: 98.11 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.223e-05, allocations: 11.94 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.099/8.304, allocations: 2.431 GB / 3.326 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/8.305, allocations: 80.45 kB / 3.326 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.522/11.83, allocations: 0.6327 GB / 3.958 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/11.83, allocations: 0 / 3.958 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001568/11.83, allocations: 39.16 kB / 3.959 GB, free: 154.5 MB / 0.8698 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.006139/11.83, allocations: 1.405 MB / 3.96 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/11.83, allocations: 10.44 kB / 3.96 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/11.84, allocations: 0.5429 MB / 3.96 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04087/11.88, allocations: 12.73 MB / 3.973 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002225/11.88, allocations: 320 kB / 3.973 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/11.88, allocations: 73.19 kB / 3.973 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/11.88, allocations: 0.9671 MB / 3.974 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/11.88, allocations: 2.562 kB / 3.974 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/11.88, allocations: 33.27 kB / 3.974 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/11.88, allocations: 32.55 kB / 3.974 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/11.89, allocations: 0.8637 MB / 3.975 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/11.9, allocations: 3.351 MB / 3.978 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/11.9, allocations: 0.6077 MB / 3.979 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/11.9, allocations: 375.3 kB / 3.979 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/11.9, allocations: 1.029 MB / 3.98 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/11.9, allocations: 488 kB / 3.981 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 5.169e-06/11.9, allocations: 6.438 kB / 3.981 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002838/11.91, allocations: 0.8328 MB / 3.982 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/11.91, allocations: 167.6 kB / 3.982 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/11.91, allocations: 0.9381 MB / 3.983 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/11.91, allocations: 44.8 kB / 3.983 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/11.91, allocations: 438.7 kB / 3.983 GB, free: 150 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/11.91, allocations: 202.8 kB / 3.983 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/11.91, allocations: 13.56 kB / 3.983 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/11.91, allocations: 328.6 kB / 3.984 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/11.91, allocations: 313 kB / 3.984 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/11.91, allocations: 0.4994 MB / 3.984 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/11.91, allocations: 380.6 kB / 3.985 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/11.91, allocations: 0 / 3.985 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002644/11.91, allocations: 0.9508 MB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/11.91, allocations: 38.42 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/11.91, allocations: 3.906 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/11.91, allocations: 10.62 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/11.92, allocations: 213.5 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/11.92, allocations: 10.56 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/11.92, allocations: 309.6 kB / 3.986 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/11.92, allocations: 47.28 kB / 3.986 GB, free: 149.2 MB / 0.8698 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 () * 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.0003787/11.92, allocations: 182.6 kB / 3.987 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/11.92, allocations: 116.7 kB / 3.987 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/11.92, allocations: 0.9302 MB / 3.988 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/11.92, allocations: 14.02 kB / 3.988 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/11.92, allocations: 0 / 3.988 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/11.92, allocations: 3.562 kB / 3.988 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/11.93, allocations: 3.23 MB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/11.93, allocations: 13.83 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/11.93, allocations: 125.2 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/11.93, allocations: 10.88 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/11.93, allocations: 33.36 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/11.93, allocations: 17.16 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/11.93, allocations: 10.81 kB / 3.991 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/11.94, allocations: 1.716 MB / 3.993 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/11.94, allocations: 333.1 kB / 3.993 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/11.94, allocations: 25.8 kB / 3.993 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/11.94, allocations: 126.1 kB / 3.993 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/11.94, allocations: 69.98 kB / 3.993 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/11.94, allocations: 42.5 kB / 3.993 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001396/11.94, allocations: 0.7395 MB / 3.994 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.352e-06/11.94, allocations: 0 / 3.994 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002245/11.94, allocations: 445.6 kB / 3.994 GB, free: 146.6 MB / 0.8698 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) * 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.004262/11.95, allocations: 1.579 MB / 3.996 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00226/11.95, allocations: 0.8251 MB / 3.997 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/11.95, allocations: 0 / 3.997 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/11.95, allocations: 477.2 kB / 3.997 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/11.95, allocations: 0.5389 MB / 3.998 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/11.96, allocations: 1.574 MB / 3.999 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/11.96, allocations: 1.09 MB / 4 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002083/11.96, allocations: 278.7 kB / 4 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/11.96, allocations: 89.67 kB / 4.001 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/11.96, allocations: 0 / 4.001 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08758/12.05, allocations: 40.65 MB / 4.04 GB, free: 142.9 MB / 0.8698 GB