Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005898/0.005897, allocations: 102 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.7 MB / 0.5094 GB, free: 3.109 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1984, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6012/0.7997, allocations: 194.2 MB / 1.018 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009759/0.8095, allocations: 7.006 MB / 1.025 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.8105, allocations: 47.47 kB / 1.025 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.8122, allocations: 0.6821 MB / 1.025 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.8175, allocations: 2.345 MB / 1.028 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.8206, allocations: 1.433 MB / 1.029 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.8242, allocations: 2.946 MB / 1.032 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.8257, allocations: 0.9055 MB / 1.033 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.8288, allocations: 1.112 MB / 1.034 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.8302, allocations: 0.8663 MB / 1.035 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.8304, allocations: 100 kB / 1.035 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.8343, allocations: 2.066 MB / 1.037 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.8347, allocations: 378.8 kB / 1.037 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.8354, allocations: 0.5908 MB / 1.038 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.8388, allocations: 2.438 MB / 1.04 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8389, allocations: 0 / 1.04 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8389, allocations: 0 / 1.04 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.8389, allocations: 0 / 1.04 GB, free: 3.73 MB / 0.7794 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.003603/0.8425, allocations: 1.656 MB / 1.042 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.8425, allocations: 8.031 kB / 1.042 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.8456, allocations: 0.5409 MB / 1.042 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.8479, allocations: 1.052 MB / 1.043 GB, free: 376 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.848, allocations: 57.3 kB / 1.043 GB, free: 320 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.8482, allocations: 68 kB / 1.043 GB, free: 252 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.8508, allocations: 1.125 MB / 1.045 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8508, allocations: 0 / 1.045 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.8509, allocations: 35.92 kB / 1.045 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.851, allocations: 29.31 kB / 1.045 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.8543, allocations: 1.239 MB / 1.046 GB, free: 13.8 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0057/0.86, allocations: 2.99 MB / 1.049 GB, free: 10.72 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.8619, allocations: 0.7114 MB / 1.049 GB, free: 10 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.8628, allocations: 449.4 kB / 1.05 GB, free: 9.566 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.8636, allocations: 1.025 MB / 1.051 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.8647, allocations: 0.5369 MB / 1.051 GB, free: 7.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.234e-06/0.8647, allocations: 0 / 1.051 GB, free: 7.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003131/0.8678, allocations: 1.271 MB / 1.053 GB, free: 6.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.8679, allocations: 119.2 kB / 1.053 GB, free: 6.336 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8698, allocations: 1.164 MB / 1.054 GB, free: 5.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.8699, allocations: 37.7 kB / 1.054 GB, free: 5.113 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.8702, allocations: 437.3 kB / 1.054 GB, free: 4.684 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.8704, allocations: 205.2 kB / 1.054 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.8707, allocations: 146.1 kB / 1.055 GB, free: 4.332 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8708, allocations: 330 kB / 1.055 GB, free: 4.004 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.8722, allocations: 452.9 kB / 1.055 GB, free: 3.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.8737, allocations: 0.6077 MB / 1.056 GB, free: 2.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.8758, allocations: 0.9416 MB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.8758, allocations: 0 / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003211/0.8791, allocations: 1.222 MB / 1.058 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.8791, allocations: 37.69 kB / 1.058 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8791, allocations: 4 kB / 1.058 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8792, allocations: 11.94 kB / 1.058 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8802, allocations: 195.9 kB / 1.058 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.8802, allocations: 12.58 kB / 1.058 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.8818, allocations: 249.6 kB / 1.059 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.8819, allocations: 31.98 kB / 1.059 GB, free: 148 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005007/0.8824, allocations: 335.2 kB / 1.059 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.8826, allocations: 118.6 kB / 1.059 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.8849, allocations: 1.044 MB / 1.06 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.8849, allocations: 8 kB / 1.06 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8849, allocations: 3.938 kB / 1.06 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.885, allocations: 3.984 kB / 1.06 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.8899, allocations: 3.222 MB / 1.063 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.89, allocations: 8 kB / 1.063 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.8906, allocations: 124.1 kB / 1.063 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.8906, allocations: 12 kB / 1.063 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.8907, allocations: 27.98 kB / 1.063 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.8907, allocations: 15.92 kB / 1.063 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.8907, allocations: 13.81 kB / 1.063 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.893, allocations: 1.31 MB / 1.065 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.8935, allocations: 339.4 kB / 1.065 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.8937, allocations: 16 kB / 1.065 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8949, allocations: 107.9 kB / 1.065 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.895, allocations: 63.7 kB / 1.065 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.8951, allocations: 47.95 kB / 1.065 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001497/0.8966, allocations: 0.8402 MB / 1.066 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8966, allocations: 0 / 1.066 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00106/0.8977, allocations: 303.8 kB / 1.066 GB, free: 7.879 MB / 0.8106 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000808/0.8985, allocations: 353.2 kB / 1.067 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.9011, allocations: 1.049 MB / 1.068 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9011, allocations: 0 / 1.068 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.9021, allocations: 0.5409 MB / 1.068 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.9047, allocations: 0.5508 MB / 1.069 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.9082, allocations: 2.04 MB / 1.071 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.9089, allocations: 1.073 MB / 1.072 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001027/0.9099, allocations: 285.7 kB / 1.072 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.9102, allocations: 87.41 kB / 1.072 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of SimCode: time 8.01e-07/0.9102, allocations: 4 kB / 1.072 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of Templates: time 0.03685/0.947, allocations: 22.43 MB / 1.094 GB, free: 11.55 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)