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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 111.8 kB / 16.37 MB, free: 5.535 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.001021/0.001022, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.001427/0.001427, allocations: 67.84 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.568/0.8119, allocations: 194 MB / 0.9742 GB, free: 8.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.8239, allocations: 6.878 MB / 0.981 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.8258, allocations: 49.56 kB / 0.981 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.8282, allocations: 0.6908 MB / 0.9817 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.8349, allocations: 2.287 MB / 0.9839 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.8387, allocations: 1.429 MB / 0.9853 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.8435, allocations: 2.93 MB / 0.9882 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.8453, allocations: 0.9101 MB / 0.9891 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.8487, allocations: 1.142 MB / 0.9902 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.8507, allocations: 0.808 MB / 0.991 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.8511, allocations: 103.9 kB / 0.9911 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.856, allocations: 2.073 MB / 0.9931 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.8567, allocations: 366.9 kB / 0.9934 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.8579, allocations: 0.5908 MB / 0.994 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.8628, allocations: 2.431 MB / 0.9964 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8629, allocations: 0 / 0.9964 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8629, allocations: 0 / 0.9964 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.023e-05/0.863, allocations: 0 / 0.9964 GB, free: 1.348 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.004959/0.8679, allocations: 1.668 MB / 0.998 GB, free: 15.62 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.868, allocations: 12.03 kB / 0.998 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.8711, allocations: 0.5331 MB / 0.9986 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.8737, allocations: 1.053 MB / 0.9996 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.8738, allocations: 53.31 kB / 0.9996 GB, free: 13.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.874, allocations: 68 kB / 0.9997 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.8769, allocations: 1.125 MB / 1.001 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.8769, allocations: 3.938 kB / 1.001 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.877, allocations: 28 kB / 1.001 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.8771, allocations: 29.31 kB / 1.001 GB, free: 12.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.8804, allocations: 1.239 MB / 1.002 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006191/0.8866, allocations: 2.896 MB / 1.005 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.8886, allocations: 0.7114 MB / 1.006 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008922/0.8895, allocations: 452.2 kB / 1.006 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009744/0.8905, allocations: 1.021 MB / 1.007 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.8917, allocations: 0.5292 MB / 1.008 GB, free: 5.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/0.8917, allocations: 7.938 kB / 1.008 GB, free: 5.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003354/0.8951, allocations: 1.264 MB / 1.009 GB, free: 4.219 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.8952, allocations: 119.2 kB / 1.009 GB, free: 4.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.8974, allocations: 1.172 MB / 1.01 GB, free: 2.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8975, allocations: 37.7 kB / 1.01 GB, free: 2.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.8979, allocations: 433.5 kB / 1.01 GB, free: 2.422 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.8981, allocations: 197.7 kB / 1.011 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.8984, allocations: 150.1 kB / 1.011 GB, free: 2.074 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8985, allocations: 326 kB / 1.011 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.8998, allocations: 460.9 kB / 1.012 GB, free: 1.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.9013, allocations: 0.6015 MB / 1.012 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.9035, allocations: 0.9416 MB / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.9035, allocations: 0.5625 kB / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003195/0.9067, allocations: 1.225 MB / 1.014 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.9068, allocations: 47.5 kB / 1.014 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9068, allocations: 0 / 1.014 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.9068, allocations: 8 kB / 1.014 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.9078, allocations: 199.9 kB / 1.015 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.9078, allocations: 8.5 kB / 1.015 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9093, allocations: 242.3 kB / 1.015 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.9094, allocations: 36.55 kB / 1.015 GB, free: 13.89 MB / 0.8106 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.0005858/0.91, allocations: 331.3 kB / 1.015 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.9102, allocations: 114.6 kB / 1.015 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.9126, allocations: 1.037 MB / 1.016 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.9126, allocations: 19.92 kB / 1.016 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.9126, allocations: 0 / 1.016 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.9127, allocations: 2.719 kB / 1.016 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.9179, allocations: 3.224 MB / 1.019 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.918, allocations: 8 kB / 1.019 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.9186, allocations: 132 kB / 1.02 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.9186, allocations: 11.98 kB / 1.02 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.9187, allocations: 27.98 kB / 1.02 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.9187, allocations: 8 kB / 1.02 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.9187, allocations: 17.27 kB / 1.02 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.921, allocations: 1.306 MB / 1.021 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.9215, allocations: 343.3 kB / 1.021 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.9217, allocations: 23.98 kB / 1.021 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9228, allocations: 106.8 kB / 1.021 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.9229, allocations: 67.69 kB / 1.021 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.923, allocations: 41.09 kB / 1.021 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001463/0.9244, allocations: 0.8441 MB / 1.022 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9244, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001021/0.9255, allocations: 299.8 kB / 1.023 GB, free: 5.637 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.0007321/0.9262, allocations: 352.6 kB / 1.023 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.9288, allocations: 1.057 MB / 1.024 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9288, allocations: 0 / 1.024 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.9298, allocations: 0.5361 MB / 1.024 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.9326, allocations: 0.5549 MB / 1.025 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.9365, allocations: 2.107 MB / 1.027 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.9373, allocations: 1.065 MB / 1.028 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.9376, allocations: 99.38 kB / 1.028 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/0.9376, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of Templates: time 0.02721/0.9649, allocations: 18.88 MB / 1.047 GB, free: 13.07 MB / 0.8419 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)