Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 293 MB / 309 MB, free: 4.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 181.3 kB / 378.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 0.6383 GB, free: 9.074 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007311/0.0007311, allocations: 89.11 kB / 0.7527 GB, free: 62.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 15.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.004/5.224, allocations: 2.315 GB / 3.306 GB, free: 263.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/5.224, allocations: 86.8 kB / 3.306 GB, free: 263.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.251/7.475, allocations: 0.6479 GB / 3.954 GB, free: 138 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/7.475, allocations: 3.281 kB / 3.954 GB, free: 138 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001687/7.475, allocations: 38.44 kB / 3.954 GB, free: 138 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.004896/7.48, allocations: 1.565 MB / 3.955 GB, free: 137.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/7.48, allocations: 10.41 kB / 3.955 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/7.483, allocations: 0.5383 MB / 3.956 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02331/7.506, allocations: 12.33 MB / 3.968 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/7.507, allocations: 319.6 kB / 3.968 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/7.508, allocations: 72.34 kB / 3.968 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/7.511, allocations: 1.173 MB / 3.969 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/7.511, allocations: 0.5625 kB / 3.969 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/7.511, allocations: 29.59 kB / 3.969 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/7.511, allocations: 36.52 kB / 3.969 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/7.514, allocations: 1.236 MB / 3.971 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00642/7.52, allocations: 3.267 MB / 3.974 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/7.522, allocations: 0.7103 MB / 3.975 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/7.523, allocations: 443.1 kB / 3.975 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/7.524, allocations: 1.032 MB / 3.976 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/7.525, allocations: 0.5438 MB / 3.976 GB, free: 134.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 4.969e-06/7.525, allocations: 0 / 3.976 GB, free: 134.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002933/7.528, allocations: 1.284 MB / 3.978 GB, free: 134.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/7.528, allocations: 161 kB / 3.978 GB, free: 134 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/7.53, allocations: 1.206 MB / 3.979 GB, free: 133.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/7.53, allocations: 45.67 kB / 3.979 GB, free: 133.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/7.531, allocations: 441.9 kB / 3.98 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/7.531, allocations: 198.7 kB / 3.98 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/7.531, allocations: 8.156 kB / 3.98 GB, free: 133.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/7.531, allocations: 333.6 kB / 3.98 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/7.532, allocations: 499.4 kB / 3.981 GB, free: 133.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/7.533, allocations: 0.6922 MB / 3.981 GB, free: 133.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/7.535, allocations: 1.023 MB / 3.982 GB, free: 132.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.535, allocations: 0 / 3.982 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003065/7.538, allocations: 1.336 MB / 3.983 GB, free: 132.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/7.538, allocations: 39.06 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/7.538, allocations: 3.938 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/7.539, allocations: 7.219 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/7.539, allocations: 222.4 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/7.539, allocations: 12 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/7.541, allocations: 307.2 kB / 3.984 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/7.541, allocations: 51.47 kB / 3.984 GB, free: 132.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0006756/7.542, allocations: 326.4 kB / 3.984 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/7.542, allocations: 121.9 kB / 3.985 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/7.545, allocations: 1.05 MB / 3.986 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/7.545, allocations: 9.062 kB / 3.986 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/7.545, allocations: 0 / 3.986 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/7.545, allocations: 5.984 kB / 3.986 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/7.55, allocations: 3.402 MB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/7.55, allocations: 10 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/7.55, allocations: 129.2 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/7.55, allocations: 10.5 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/7.55, allocations: 30.7 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/7.55, allocations: 25.38 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/7.55, allocations: 8.469 kB / 3.989 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/7.553, allocations: 1.416 MB / 3.99 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/7.553, allocations: 344.1 kB / 3.991 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/7.553, allocations: 25.22 kB / 3.991 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/7.555, allocations: 132.8 kB / 3.991 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/7.555, allocations: 63.78 kB / 3.991 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/7.555, allocations: 42.53 kB / 3.991 GB, free: 130.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001572/7.556, allocations: 0.8733 MB / 3.992 GB, free: 130.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.556, allocations: 4.312 kB / 3.992 GB, free: 130.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001945/7.558, allocations: 443.4 kB / 3.992 GB, free: 130.7 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) * 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.002737/7.561, allocations: 1.624 MB / 3.994 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002388/7.564, allocations: 1.078 MB / 3.995 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/7.564, allocations: 6.281 kB / 3.995 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/7.564, allocations: 0.5283 MB / 3.995 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/7.569, allocations: 0.5335 MB / 3.996 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/7.573, allocations: 2.3 MB / 3.998 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/7.573, allocations: 1.069 MB / 3.999 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001391/7.575, allocations: 297 kB / 4 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/7.575, allocations: 86.36 kB / 4 GB, free: 128.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/7.575, allocations: 3.938 kB / 4 GB, free: 128.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05936/7.634, allocations: 37.63 MB / 4.036 GB, free: 126.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)