Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001208/0.001208, allocations: 177 kB / 371.8 MB, free: 10.3 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.505/1.505, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008931, allocations: 89.11 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 12.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2315, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.673/0.9046, allocations: 162 MB / 1.138 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009487/0.9141, allocations: 6.25 MB / 1.144 GB, free: 14.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.9157, allocations: 41.09 kB / 1.144 GB, free: 14.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.9178, allocations: 0.6713 MB / 1.144 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.9234, allocations: 1.637 MB / 1.146 GB, free: 12.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.9281, allocations: 1.536 MB / 1.147 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.9314, allocations: 1.67 MB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.9326, allocations: 0.6782 MB / 1.15 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.9348, allocations: 0.9194 MB / 1.151 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.9356, allocations: 0.5353 MB / 1.151 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.9358, allocations: 42.72 kB / 1.151 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.939, allocations: 1.178 MB / 1.152 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.9394, allocations: 288.8 kB / 1.153 GB, free: 8.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.9397, allocations: 238.4 kB / 1.153 GB, free: 8.406 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.9418, allocations: 1.552 MB / 1.154 GB, free: 7.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.9418, allocations: 0 / 1.154 GB, free: 7.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9418, allocations: 0 / 1.154 GB, free: 7.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.9418, allocations: 0 / 1.154 GB, free: 7.391 MB / 0.698 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.003546/0.9454, allocations: 1.404 MB / 1.156 GB, free: 6.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9454, allocations: 14.12 kB / 1.156 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.9484, allocations: 0.6094 MB / 1.156 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.9504, allocations: 0.9167 MB / 1.157 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/0.9517, allocations: 321.5 kB / 1.158 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.9518, allocations: 65.97 kB / 1.158 GB, free: 5.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.9545, allocations: 1.168 MB / 1.159 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.9546, allocations: 1.344 kB / 1.159 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.9547, allocations: 25.88 kB / 1.159 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.9547, allocations: 35.67 kB / 1.159 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.9583, allocations: 1.329 MB / 1.16 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.9644, allocations: 2.99 MB / 1.163 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.9663, allocations: 0.7404 MB / 1.164 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.9669, allocations: 0.6749 MB / 1.164 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.9679, allocations: 0.5379 MB / 1.165 GB, free: 212 kB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.817e-06/0.968, allocations: 0 / 1.165 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.003175/0.9711, allocations: 1.364 MB / 1.166 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.9712, allocations: 118.6 kB / 1.166 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.9732, allocations: 1.22 MB / 1.168 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.9732, allocations: 41.08 kB / 1.168 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.9736, allocations: 421 kB / 1.168 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.9738, allocations: 199.4 kB / 1.168 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.9738, allocations: 14.88 kB / 1.168 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.974, allocations: 330.9 kB / 1.169 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.9753, allocations: 0.4894 MB / 1.169 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.9768, allocations: 0.6369 MB / 1.17 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.9782, allocations: 0.5495 MB / 1.17 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9782, allocations: 0 / 1.17 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003164/0.9814, allocations: 1.312 MB / 1.171 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.9815, allocations: 45.88 kB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.9815, allocations: 2.031 kB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9815, allocations: 5.719 kB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/0.9825, allocations: 216.7 kB / 1.172 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9825, allocations: 4.844 kB / 1.172 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.9841, allocations: 307.6 kB / 1.172 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.9842, allocations: 45 kB / 1.172 GB, free: 12 MB / 0.7136 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 ($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.0004593/0.9847, allocations: 319.9 kB / 1.172 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.9849, allocations: 120.7 kB / 1.173 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.9871, allocations: 1.068 MB / 1.174 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.9871, allocations: 12.12 kB / 1.174 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9871, allocations: 0 / 1.174 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.9871, allocations: 3.984 kB / 1.174 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/0.9921, allocations: 3.235 MB / 1.177 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.9921, allocations: 5.312 kB / 1.177 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.9927, allocations: 129.5 kB / 1.177 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.9927, allocations: 17.2 kB / 1.177 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.9928, allocations: 24.45 kB / 1.177 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.9928, allocations: 14.81 kB / 1.177 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.9928, allocations: 13.88 kB / 1.177 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.9952, allocations: 1.729 MB / 1.179 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.9958, allocations: 341.5 kB / 1.179 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.996, allocations: 25.11 kB / 1.179 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9971, allocations: 130.8 kB / 1.179 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.9972, allocations: 55.28 kB / 1.179 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.9973, allocations: 50.75 kB / 1.179 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001594/0.9989, allocations: 0.8805 MB / 1.18 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9989, allocations: 2.812 kB / 1.18 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001084/1, allocations: 306.9 kB / 1.18 GB, free: 6.324 MB / 0.7136 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 (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.0007867/1.001, allocations: 359.9 kB / 1.181 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.003, allocations: 1.084 MB / 1.182 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.003, allocations: 2.812 kB / 1.182 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/1.004, allocations: 0.5387 MB / 1.182 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.006, allocations: 0.5313 MB / 1.183 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/1.01, allocations: 2.314 MB / 1.185 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/1.011, allocations: 1.098 MB / 1.186 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001126/1.012, allocations: 287.1 kB / 1.186 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.012, allocations: 79.59 kB / 1.186 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.012, allocations: 0 / 1.186 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of Templates: time 0.0334/1.045, allocations: 21.1 MB / 1.207 GB, free: 14.38 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)