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.009688/0.009688, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002052/0.002052, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.456/1.456, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.546/1.546, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001449/0.001449, allocations: 73.75 kB / 0.7258 GB, free: 9.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1898, allocations: 104.7 MB / 0.8281 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7155/0.9054, allocations: 194.2 MB / 1.018 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.9164, allocations: 6.999 MB / 1.025 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.9184, allocations: 44.78 kB / 1.025 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.9207, allocations: 0.7036 MB / 1.025 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.927, allocations: 2.453 MB / 1.028 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.9306, allocations: 1.435 MB / 1.029 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004866/0.9354, allocations: 2.949 MB / 1.032 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.9368, allocations: 0.9098 MB / 1.033 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.9394, allocations: 1.13 MB / 1.034 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.9409, allocations: 0.8661 MB / 1.035 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.941, allocations: 100 kB / 1.035 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.9453, allocations: 2.074 MB / 1.037 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.9458, allocations: 366.9 kB / 1.037 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007401/0.9465, allocations: 0.5986 MB / 1.038 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.9514, allocations: 2.434 MB / 1.04 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9514, allocations: 0 / 1.04 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9514, allocations: 4 kB / 1.04 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.9515, allocations: 0 / 1.04 GB, free: 3.691 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.003661/0.9551, allocations: 1.66 MB / 1.042 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.9552, allocations: 12.03 kB / 1.042 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.958, allocations: 0.5486 MB / 1.042 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.9602, allocations: 1.04 MB / 1.043 GB, free: 332 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.9603, allocations: 53.31 kB / 1.043 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.9604, allocations: 68 kB / 1.044 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.9629, allocations: 1.129 MB / 1.045 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9629, allocations: 0 / 1.045 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.963, allocations: 31.94 kB / 1.045 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.963, allocations: 33.3 kB / 1.045 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.9662, allocations: 1.247 MB / 1.046 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.972, allocations: 2.982 MB / 1.049 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.9739, allocations: 0.7192 MB / 1.05 GB, free: 9.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008737/0.9748, allocations: 446.2 kB / 1.05 GB, free: 9.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.9759, allocations: 1.021 MB / 1.051 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.977, allocations: 0.533 MB / 1.051 GB, free: 7.715 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.455e-06/0.977, allocations: 0 / 1.051 GB, free: 7.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003292/0.9803, allocations: 1.271 MB / 1.053 GB, free: 6.434 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.9804, allocations: 115.2 kB / 1.053 GB, free: 6.297 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.9825, allocations: 1.172 MB / 1.054 GB, free: 5.109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.9826, allocations: 37.7 kB / 1.054 GB, free: 5.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.983, allocations: 445.3 kB / 1.054 GB, free: 4.629 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.9831, allocations: 193.2 kB / 1.055 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.9834, allocations: 150.1 kB / 1.055 GB, free: 4.285 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9836, allocations: 330 kB / 1.055 GB, free: 3.957 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.9848, allocations: 452.9 kB / 1.056 GB, free: 3.516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.9862, allocations: 0.6074 MB / 1.056 GB, free: 2.863 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.9883, allocations: 0.9416 MB / 1.057 GB, free: 1.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.9883, allocations: 0 / 1.057 GB, free: 1.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003168/0.9915, allocations: 1.218 MB / 1.058 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.9915, allocations: 49.88 kB / 1.058 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9915, allocations: 0 / 1.058 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.9916, allocations: 8 kB / 1.058 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.9926, allocations: 187.7 kB / 1.058 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.9926, allocations: 15.86 kB / 1.058 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.9941, allocations: 253.1 kB / 1.059 GB, free: 136 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.9942, allocations: 39.98 kB / 1.059 GB, free: 96 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.0005442/0.9948, allocations: 335.1 kB / 1.059 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.9951, allocations: 114.6 kB / 1.059 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.9974, allocations: 1.048 MB / 1.06 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.9974, allocations: 8 kB / 1.06 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9974, allocations: 3.938 kB / 1.06 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.9974, allocations: 3.984 kB / 1.06 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/1.003, allocations: 3.215 MB / 1.063 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.003, allocations: 16.02 kB / 1.063 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/1.003, allocations: 123.7 kB / 1.063 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.003, allocations: 8 kB / 1.064 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/1.003, allocations: 27.98 kB / 1.064 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/1.003, allocations: 19.92 kB / 1.064 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.003, allocations: 15.94 kB / 1.064 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.006, allocations: 1.314 MB / 1.065 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/1.006, allocations: 331.4 kB / 1.065 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/1.006, allocations: 20 kB / 1.065 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.008, allocations: 103.9 kB / 1.065 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.008, allocations: 63.7 kB / 1.065 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.008, allocations: 43.95 kB / 1.065 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001543/1.009, allocations: 0.8441 MB / 1.066 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/1.009, allocations: 0 / 1.066 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001173/1.011, allocations: 303.8 kB / 1.066 GB, free: 7.828 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.0009026/1.011, allocations: 349.6 kB / 1.067 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.014, allocations: 1.047 MB / 1.068 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.014, allocations: 4 kB / 1.068 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.015, allocations: 0.5361 MB / 1.068 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.018, allocations: 0.554 MB / 1.069 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/1.021, allocations: 2.045 MB / 1.071 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/1.022, allocations: 1.077 MB / 1.072 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009745/1.023, allocations: 280.4 kB / 1.072 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.023, allocations: 79.41 kB / 1.072 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/1.023, allocations: 0 / 1.072 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of Templates: time 0.03685/1.06, allocations: 22.44 MB / 1.094 GB, free: 11.5 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)