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.005386/0.005386, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00118/0.00118, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.461/1.461, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001394/0.001394, allocations: 63.91 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5415, allocations: 104.7 MB / 0.8281 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2011/0.7427, allocations: 194.2 MB / 1.018 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.7542, allocations: 7.006 MB / 1.025 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.756, allocations: 47.69 kB / 1.025 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.758, allocations: 0.7065 MB / 1.025 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.7643, allocations: 2.458 MB / 1.028 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.7679, allocations: 1.427 MB / 1.029 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.7718, allocations: 2.951 MB / 1.032 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.7733, allocations: 0.9074 MB / 1.033 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.7759, allocations: 1.135 MB / 1.034 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.7775, allocations: 0.8622 MB / 1.035 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.7778, allocations: 100 kB / 1.035 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.7822, allocations: 2.077 MB / 1.037 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.7828, allocations: 362.9 kB / 1.037 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7838, allocations: 0.6025 MB / 1.038 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.7883, allocations: 2.433 MB / 1.04 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7883, allocations: 0 / 1.04 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7883, allocations: 0 / 1.04 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.183e-05/0.7884, allocations: 4 kB / 1.04 GB, free: 8.5 MB / 0.8419 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.00439/0.7928, allocations: 1.664 MB / 1.042 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7928, allocations: 12.03 kB / 1.042 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.7959, allocations: 0.537 MB / 1.042 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.7982, allocations: 1.045 MB / 1.043 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.7983, allocations: 61.25 kB / 1.043 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.7985, allocations: 68 kB / 1.044 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.801, allocations: 1.133 MB / 1.045 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.801, allocations: 7.875 kB / 1.045 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.8011, allocations: 24 kB / 1.045 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.8011, allocations: 33.31 kB / 1.045 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.8043, allocations: 1.235 MB / 1.046 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.8098, allocations: 2.982 MB / 1.049 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.8117, allocations: 0.723 MB / 1.05 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.8125, allocations: 445.6 kB / 1.05 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00085/0.8134, allocations: 1.021 MB / 1.051 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.8145, allocations: 0.5408 MB / 1.052 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/0.8145, allocations: 0 / 1.052 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.003142/0.8176, allocations: 1.271 MB / 1.053 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.8177, allocations: 115.2 kB / 1.053 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.8195, allocations: 1.176 MB / 1.054 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.404e-05/0.8196, allocations: 41.7 kB / 1.054 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.82, allocations: 433.5 kB / 1.054 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.8201, allocations: 193.2 kB / 1.055 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.8204, allocations: 150.1 kB / 1.055 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8205, allocations: 326 kB / 1.055 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.8218, allocations: 460.9 kB / 1.056 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.8233, allocations: 0.5999 MB / 1.056 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.8254, allocations: 0.9377 MB / 1.057 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8254, allocations: 0 / 1.057 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003208/0.8287, allocations: 1.225 MB / 1.058 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.8287, allocations: 41.69 kB / 1.058 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8287, allocations: 4 kB / 1.058 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.8288, allocations: 4 kB / 1.058 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.8297, allocations: 195.8 kB / 1.058 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.8298, allocations: 15.94 kB / 1.058 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.8313, allocations: 250.7 kB / 1.059 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/0.8314, allocations: 39.97 kB / 1.059 GB, free: 4.898 MB / 0.8575 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.0004699/0.8319, allocations: 319.4 kB / 1.059 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.8321, allocations: 110.7 kB / 1.059 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.8343, allocations: 1.057 MB / 1.06 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.8344, allocations: 7.938 kB / 1.06 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8344, allocations: 0 / 1.06 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8344, allocations: 15.91 kB / 1.06 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.8395, allocations: 3.223 MB / 1.063 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.8395, allocations: 4 kB / 1.063 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.8401, allocations: 132 kB / 1.063 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.8402, allocations: 8 kB / 1.064 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.8402, allocations: 27.98 kB / 1.064 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.8402, allocations: 15.94 kB / 1.064 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.8403, allocations: 11.94 kB / 1.064 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.8425, allocations: 1.321 MB / 1.065 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.8431, allocations: 327.4 kB / 1.065 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.8433, allocations: 27.98 kB / 1.065 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8445, allocations: 99.91 kB / 1.065 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8446, allocations: 67.69 kB / 1.065 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.8447, allocations: 39.97 kB / 1.065 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00152/0.8462, allocations: 0.8441 MB / 1.066 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8462, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00114/0.8474, allocations: 303.8 kB / 1.067 GB, free: 12.62 MB / 0.8731 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.0008044/0.8482, allocations: 333 kB / 1.067 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002629/0.8508, allocations: 1.049 MB / 1.068 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.8509, allocations: 7.938 kB / 1.068 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8519, allocations: 0.5284 MB / 1.068 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.8547, allocations: 0.5488 MB / 1.069 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.859, allocations: 2.052 MB / 1.071 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.8599, allocations: 1.065 MB / 1.072 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001136/0.861, allocations: 293.4 kB / 1.072 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.8614, allocations: 83.41 kB / 1.072 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.8614, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of Templates: time 0.03681/0.8982, allocations: 22.45 MB / 1.094 GB, free: 324 kB / 0.8887 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)