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.428/2.428, allocations: 284.8 MB / 297.3 MB, free: 6.328 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.001491/0.001492, allocations: 180.8 kB / 365.7 MB, free: 2.57 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.99/1.99, allocations: 205.2 MB / 0.6241 GB, free: 8.184 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.001133/0.001132, allocations: 97.73 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.898e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8178, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.763, allocations: 2.314 GB / 3.284 GB, free: 144 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/7.763, allocations: 84.33 kB / 3.284 GB, free: 144 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.659/11.42, allocations: 0.6516 GB / 3.936 GB, free: 195.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/11.42, allocations: 3.797 kB / 3.936 GB, free: 195.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001538/11.42, allocations: 35.75 kB / 3.936 GB, free: 195.7 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.00597/11.43, allocations: 1.411 MB / 3.937 GB, free: 195 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/11.43, allocations: 9.469 kB / 3.937 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/11.43, allocations: 0.5414 MB / 3.938 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04099/11.47, allocations: 13.06 MB / 3.95 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002223/11.48, allocations: 323.9 kB / 3.951 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/11.48, allocations: 72.62 kB / 3.951 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/11.48, allocations: 0.9647 MB / 3.952 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/11.48, allocations: 0 / 3.952 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/11.48, allocations: 35.59 kB / 3.952 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/11.48, allocations: 31.8 kB / 3.952 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/11.48, allocations: 0.8669 MB / 3.953 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/11.49, allocations: 3.247 MB / 3.956 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/11.5, allocations: 0.6002 MB / 3.956 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008728/11.5, allocations: 372.6 kB / 3.957 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/11.5, allocations: 1.03 MB / 3.958 GB, free: 190.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/11.5, allocations: 486.5 kB / 3.958 GB, free: 190.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.797e-06/11.5, allocations: 3.938 kB / 3.958 GB, free: 190.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002775/11.5, allocations: 0.8343 MB / 3.959 GB, free: 190.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/11.5, allocations: 161.9 kB / 3.959 GB, free: 190.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/11.5, allocations: 0.9519 MB / 3.96 GB, free: 189.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/11.5, allocations: 48.84 kB / 3.96 GB, free: 189.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/11.5, allocations: 431.7 kB / 3.96 GB, free: 189.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/11.5, allocations: 201.8 kB / 3.961 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/11.5, allocations: 11.72 kB / 3.961 GB, free: 189.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/11.5, allocations: 324.7 kB / 3.961 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/11.51, allocations: 308.5 kB / 3.961 GB, free: 188.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/11.51, allocations: 0.501 MB / 3.962 GB, free: 188.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/11.51, allocations: 382.7 kB / 3.962 GB, free: 188.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/11.51, allocations: 0 / 3.962 GB, free: 188.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002611/11.51, allocations: 0.9464 MB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/11.51, allocations: 44.16 kB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/11.51, allocations: 3.781 kB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/11.51, allocations: 6.281 kB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/11.51, allocations: 221.4 kB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/11.51, allocations: 7.812 kB / 3.963 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/11.52, allocations: 304 kB / 3.964 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/11.52, allocations: 49.78 kB / 3.964 GB, free: 187.7 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 () * 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.0003524/11.52, allocations: 186.2 kB / 3.964 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/11.52, allocations: 119.1 kB / 3.964 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/11.52, allocations: 0.9177 MB / 3.965 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/11.52, allocations: 9.188 kB / 3.965 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/11.52, allocations: 7.312 kB / 3.965 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/11.52, allocations: 0 / 3.965 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/11.53, allocations: 3.257 MB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/11.53, allocations: 7.781 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/11.53, allocations: 131.7 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/11.53, allocations: 11.62 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/11.53, allocations: 24.7 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/11.53, allocations: 20.28 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/11.53, allocations: 11.75 kB / 3.968 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/11.53, allocations: 1.707 MB / 3.97 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/11.53, allocations: 331.2 kB / 3.97 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/11.53, allocations: 24.69 kB / 3.97 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/11.54, allocations: 133.5 kB / 3.97 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/11.54, allocations: 59.86 kB / 3.97 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/11.54, allocations: 46.02 kB / 3.97 GB, free: 183.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001685/11.54, allocations: 0.7411 MB / 3.971 GB, free: 183.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.202e-06/11.54, allocations: 1.625 kB / 3.971 GB, free: 183.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002531/11.54, allocations: 436.8 kB / 3.972 GB, free: 183.2 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) * 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.003198/11.54, allocations: 1.588 MB / 3.973 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002255/11.55, allocations: 0.8254 MB / 3.974 GB, free: 182.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/11.55, allocations: 4.5 kB / 3.974 GB, free: 182.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/11.55, allocations: 476.5 kB / 3.974 GB, free: 181.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/11.55, allocations: 0.5458 MB / 3.975 GB, free: 181.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/11.56, allocations: 1.603 MB / 3.977 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/11.56, allocations: 1.087 MB / 3.978 GB, free: 180.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002194/11.56, allocations: 285.5 kB / 3.978 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/11.56, allocations: 89.75 kB / 3.978 GB, free: 180 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/11.56, allocations: 0 / 3.978 GB, free: 180 MB / 0.948 GB Notification: Performance of Templates: time 0.09104/11.65, allocations: 40.65 MB / 4.018 GB, free: 147.9 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)