Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.472/2.472, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 180.9 kB / 360.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 95.7 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.521e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8254, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.13/7.955, allocations: 2.313 GB / 3.277 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/7.956, allocations: 84.58 kB / 3.277 GB, free: 169.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.49/11.45, allocations: 0.6451 GB / 3.922 GB, free: 193.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/11.45, allocations: 0 / 3.922 GB, free: 193.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000148/11.45, allocations: 34.27 kB / 3.922 GB, free: 193.6 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.006184/11.45, allocations: 1.402 MB / 3.923 GB, free: 192.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/11.45, allocations: 10.41 kB / 3.923 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/11.46, allocations: 0.5426 MB / 3.924 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04161/11.5, allocations: 13.02 MB / 3.936 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002222/11.5, allocations: 295.8 kB / 3.937 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/11.5, allocations: 43.78 kB / 3.937 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002101/11.5, allocations: 0.7544 MB / 3.938 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/11.51, allocations: 0.8853 MB / 3.938 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/11.51, allocations: 0 / 3.938 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/11.51, allocations: 3.375 kB / 3.938 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/11.51, allocations: 31.06 kB / 3.938 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/11.52, allocations: 3.122 MB / 3.942 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/11.52, allocations: 0.5681 MB / 3.942 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/11.52, allocations: 354.9 kB / 3.942 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/11.52, allocations: 1.025 MB / 3.943 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/11.52, allocations: 493 kB / 3.944 GB, free: 189.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 3.286e-06/11.52, allocations: 0 / 3.944 GB, free: 189.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002951/11.52, allocations: 0.7921 MB / 3.945 GB, free: 189.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/11.52, allocations: 143.4 kB / 3.945 GB, free: 189.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/11.53, allocations: 0.6574 MB / 3.945 GB, free: 189.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/11.53, allocations: 29.39 kB / 3.945 GB, free: 189.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/11.53, allocations: 455.2 kB / 3.946 GB, free: 189.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/11.53, allocations: 192.7 kB / 3.946 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/11.53, allocations: 0 / 3.946 GB, free: 189.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/11.53, allocations: 331.3 kB / 3.946 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/11.53, allocations: 314.2 kB / 3.947 GB, free: 188.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009361/11.53, allocations: 0.5071 MB / 3.947 GB, free: 188.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/11.53, allocations: 416.3 kB / 3.948 GB, free: 188.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/11.53, allocations: 6.219 kB / 3.948 GB, free: 188.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002876/11.53, allocations: 0.9425 MB / 3.948 GB, free: 188.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/11.53, allocations: 39.08 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/11.53, allocations: 3.938 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/11.53, allocations: 10.44 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/11.53, allocations: 220.3 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/11.53, allocations: 10.19 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/11.54, allocations: 260.5 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/11.54, allocations: 58.03 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003286/11.54, allocations: 166.9 kB / 3.949 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/11.54, allocations: 90.19 kB / 3.949 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/11.54, allocations: 0.8661 MB / 3.95 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/11.54, allocations: 9.531 kB / 3.95 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/11.54, allocations: 3.469 kB / 3.95 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/11.54, allocations: 3.562 kB / 3.95 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006823/11.55, allocations: 3.024 MB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/11.55, allocations: 7.719 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/11.55, allocations: 133 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/11.55, allocations: 13.5 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/11.55, allocations: 26.34 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/11.55, allocations: 19.17 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/11.55, allocations: 10.53 kB / 3.953 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/11.55, allocations: 1.603 MB / 3.955 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/11.55, allocations: 309.3 kB / 3.955 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/11.55, allocations: 14.52 kB / 3.955 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/11.56, allocations: 125 kB / 3.955 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/11.56, allocations: 56.3 kB / 3.955 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/11.56, allocations: 55.17 kB / 3.955 GB, free: 186.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000945/11.56, allocations: 0.5027 MB / 3.956 GB, free: 186.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.643e-06/11.56, allocations: 0 / 3.956 GB, free: 186.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002249/11.56, allocations: 411.3 kB / 3.956 GB, free: 186.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (57): * Single equations (assignments): 52 * 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.003208/11.56, allocations: 1.749 MB / 3.958 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002108/11.56, allocations: 0.8199 MB / 3.959 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/11.56, allocations: 3.719 kB / 3.959 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/11.57, allocations: 472 kB / 3.959 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/11.57, allocations: 352.2 kB / 3.96 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/11.57, allocations: 1.5 MB / 3.961 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/11.57, allocations: 1.088 MB / 3.962 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002019/11.58, allocations: 261.2 kB / 3.962 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/11.58, allocations: 78.95 kB / 3.962 GB, free: 184.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/11.58, allocations: 0 / 3.962 GB, free: 184.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05749/11.63, allocations: 23.24 MB / 3.985 GB, free: 182.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)