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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001107/0.001107, allocations: 187.9 kB / 377.1 MB, free: 1.523 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.649/1.649, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.001002/0.001002, allocations: 95.22 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.279, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.037/5.316, allocations: 2.315 GB / 3.303 GB, free: 266.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/5.316, allocations: 88.2 kB / 3.304 GB, free: 266.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224/7.54, allocations: 0.6527 GB / 3.956 GB, free: 136.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/7.54, allocations: 1.688 kB / 3.956 GB, free: 136.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001048/7.54, allocations: 40.58 kB / 3.956 GB, free: 136.9 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.00436/7.544, allocations: 1.571 MB / 3.958 GB, free: 136.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/7.544, allocations: 9.75 kB / 3.958 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/7.547, allocations: 0.5359 MB / 3.958 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/7.573, allocations: 13.15 MB / 3.971 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/7.574, allocations: 323.4 kB / 3.972 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/7.575, allocations: 69.53 kB / 3.972 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/7.577, allocations: 1.162 MB / 3.973 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/7.577, allocations: 6.594 kB / 3.973 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/7.577, allocations: 27.84 kB / 3.973 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/7.577, allocations: 30.67 kB / 3.973 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/7.58, allocations: 1.234 MB / 3.974 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/7.586, allocations: 3.256 MB / 3.977 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/7.588, allocations: 0.7052 MB / 3.978 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/7.589, allocations: 1.03 MB / 3.979 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/7.59, allocations: 0.5393 MB / 3.979 GB, free: 133.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.154e-06/7.59, allocations: 0 / 3.979 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.003079/7.593, allocations: 1.346 MB / 3.981 GB, free: 133 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/7.593, allocations: 169.6 kB / 3.981 GB, free: 132.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/7.595, allocations: 1.078 MB / 3.982 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/7.595, allocations: 44.39 kB / 3.982 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/7.595, allocations: 436.6 kB / 3.982 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/7.595, allocations: 199.8 kB / 3.983 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/7.595, allocations: 13.28 kB / 3.983 GB, free: 132.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/7.596, allocations: 328.7 kB / 3.983 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/7.597, allocations: 493.1 kB / 3.983 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/7.598, allocations: 0.6825 MB / 3.984 GB, free: 132 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/7.599, allocations: 0.5613 MB / 3.985 GB, free: 131.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.599, allocations: 0 / 3.985 GB, free: 131.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002922/7.602, allocations: 1.309 MB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/7.602, allocations: 48.59 kB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/7.602, allocations: 3.906 kB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/7.602, allocations: 6.5 kB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/7.603, allocations: 214.1 kB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/7.603, allocations: 8.688 kB / 3.986 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/7.605, allocations: 311.3 kB / 3.986 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/7.605, allocations: 43.06 kB / 3.986 GB, free: 131.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 (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.0006165/7.606, allocations: 329.8 kB / 3.987 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/7.606, allocations: 114.1 kB / 3.987 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/7.608, allocations: 1.042 MB / 3.988 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/7.608, allocations: 7.125 kB / 3.988 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/7.608, allocations: 3.25 kB / 3.988 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/7.608, allocations: 7.078 kB / 3.988 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/7.613, allocations: 3.349 MB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/7.613, allocations: 9.562 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/7.613, allocations: 128 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/7.613, allocations: 13.25 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/7.613, allocations: 34.72 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/7.613, allocations: 16.58 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/7.613, allocations: 11.94 kB / 3.991 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/7.616, allocations: 1.835 MB / 3.993 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/7.617, allocations: 334 kB / 3.994 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/7.617, allocations: 22.75 kB / 3.994 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/7.618, allocations: 126.1 kB / 3.994 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/7.618, allocations: 66.48 kB / 3.994 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/7.618, allocations: 39.64 kB / 3.994 GB, free: 129.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001394/7.619, allocations: 0.882 MB / 3.995 GB, free: 129.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.619, allocations: 0 / 3.995 GB, free: 129.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001757/7.621, allocations: 440.5 kB / 3.995 GB, free: 129.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) * 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.002229/7.623, allocations: 1.592 MB / 3.997 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002296/7.626, allocations: 1.07 MB / 3.998 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/7.626, allocations: 0 / 3.998 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/7.627, allocations: 0.5284 MB / 3.998 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/7.629, allocations: 0.533 MB / 3.999 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/7.633, allocations: 2.291 MB / 4.001 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/7.633, allocations: 1.091 MB / 4.002 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001251/7.634, allocations: 276.9 kB / 4.002 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/7.635, allocations: 94.12 kB / 4.002 GB, free: 126.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/7.635, allocations: 0 / 4.002 GB, free: 126.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06173/7.696, allocations: 36.99 MB / 4.038 GB, free: 125.4 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)