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.134/2.134, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001574/0.001573, allocations: 181.3 kB / 325.6 MB, free: 2.812 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.28/2.28, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.00115/0.001149, allocations: 98.25 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004644, allocations: 12.72 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1963, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.397/7.594, allocations: 2.431 GB / 3.33 GB, free: 90.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/7.594, allocations: 87.88 kB / 3.33 GB, free: 90.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.484/11.08, allocations: 0.6338 GB / 3.964 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/11.08, allocations: 0 / 3.964 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001725/11.08, allocations: 35.05 kB / 3.964 GB, free: 154.4 MB / 0.8855 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.007081/11.09, allocations: 1.579 MB / 3.965 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/11.09, allocations: 8.562 kB / 3.965 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005192/11.09, allocations: 0.5422 MB / 3.966 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04566/11.14, allocations: 12.81 MB / 3.978 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003058/11.14, allocations: 317.2 kB / 3.979 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/11.14, allocations: 72 kB / 3.979 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/11.15, allocations: 1.163 MB / 3.98 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/11.15, allocations: 0 / 3.98 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/11.15, allocations: 28 kB / 3.98 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-05/11.15, allocations: 37.3 kB / 3.98 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007904/11.15, allocations: 1.235 MB / 3.981 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/11.17, allocations: 3.35 MB / 3.984 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/11.17, allocations: 0.7052 MB / 3.985 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/11.17, allocations: 1.033 MB / 3.986 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/11.18, allocations: 0.5307 MB / 3.987 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 4.319e-06/11.18, allocations: 4 kB / 3.987 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.006817/11.18, allocations: 1.355 MB / 3.988 GB, free: 129 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/11.18, allocations: 162.6 kB / 3.988 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/11.19, allocations: 1.084 MB / 3.989 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/11.19, allocations: 41.7 kB / 3.989 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/11.19, allocations: 433.8 kB / 3.99 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/11.19, allocations: 201.1 kB / 3.99 GB, free: 127 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/11.19, allocations: 12 kB / 3.99 GB, free: 127 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/11.19, allocations: 333.9 kB / 3.99 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/11.19, allocations: 492.9 kB / 3.991 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/11.2, allocations: 0.6826 MB / 3.991 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/11.2, allocations: 0.5502 MB / 3.992 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/11.2, allocations: 4 kB / 3.992 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00598/11.2, allocations: 1.315 MB / 3.993 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/11.2, allocations: 37.7 kB / 3.993 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/11.2, allocations: 4 kB / 3.993 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/11.2, allocations: 16.03 kB / 3.993 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/11.21, allocations: 215.9 kB / 3.993 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/11.21, allocations: 8 kB / 3.993 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/11.21, allocations: 306.9 kB / 3.994 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/11.21, allocations: 47.97 kB / 3.994 GB, free: 122.9 MB / 0.8855 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.0008004/11.21, allocations: 327.6 kB / 3.994 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/11.21, allocations: 122.6 kB / 3.994 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/11.21, allocations: 1.03 MB / 3.995 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/11.21, allocations: 15.95 kB / 3.995 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/11.21, allocations: 0 / 3.995 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/11.21, allocations: 7.984 kB / 3.995 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008056/11.22, allocations: 3.365 MB / 3.998 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/11.22, allocations: 12.16 kB / 3.998 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/11.22, allocations: 127.8 kB / 3.999 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/11.22, allocations: 12 kB / 3.999 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/11.22, allocations: 27.92 kB / 3.999 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/11.22, allocations: 19.94 kB / 3.999 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/11.22, allocations: 11.94 kB / 3.999 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/11.23, allocations: 1.82 MB / 4 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009058/11.23, allocations: 339.3 kB / 4.001 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/11.23, allocations: 24 kB / 4.001 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/11.23, allocations: 127.9 kB / 4.001 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/11.23, allocations: 59.84 kB / 4.001 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/11.23, allocations: 47.95 kB / 4.001 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002505/11.23, allocations: 0.8714 MB / 4.002 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.383e-06/11.23, allocations: 0 / 4.002 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002363/11.24, allocations: 443.6 kB / 4.002 GB, free: 113.6 MB / 0.8855 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.002783/11.24, allocations: 1.586 MB / 4.004 GB, free: 112 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004372/11.24, allocations: 1.066 MB / 4.005 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/11.24, allocations: 4.375 kB / 4.005 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/11.25, allocations: 0.5202 MB / 4.005 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/11.25, allocations: 0.5341 MB / 4.006 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/11.26, allocations: 2.273 MB / 4.008 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/11.26, allocations: 1.089 MB / 4.009 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003146/11.26, allocations: 283.9 kB / 4.009 GB, free: 106 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/11.26, allocations: 87.41 kB / 4.009 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/11.26, allocations: 0 / 4.009 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.08447/11.35, allocations: 37 MB / 4.046 GB, free: 69.02 MB / 0.8855 GB