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.689/1.689, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.0009841/0.0009841, allocations: 176.5 kB / 372 MB, free: 10.27 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.491/1.491, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008535/0.0008537, allocations: 104.8 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 12.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.583/0.7671, allocations: 176.6 MB / 1.152 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009814/0.7769, allocations: 6.527 MB / 1.158 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7782, allocations: 38.38 kB / 1.158 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.7795, allocations: 470.6 kB / 1.159 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.7838, allocations: 1.656 MB / 1.161 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7866, allocations: 1.071 MB / 1.162 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.7912, allocations: 3.163 MB / 1.165 GB, free: 204 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.7926, allocations: 0.6559 MB / 1.165 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.7948, allocations: 0.9547 MB / 1.166 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.7961, allocations: 0.749 MB / 1.167 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.7964, allocations: 42.97 kB / 1.167 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.8002, allocations: 1.22 MB / 1.168 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.8006, allocations: 302.2 kB / 1.168 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.801, allocations: 234.3 kB / 1.169 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.8033, allocations: 1.632 MB / 1.17 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8034, allocations: 0 / 1.17 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8034, allocations: 0 / 1.17 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.8034, allocations: 0 / 1.17 GB, free: 12.82 MB / 0.7136 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.003505/0.8069, allocations: 1.419 MB / 1.172 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.8069, allocations: 8.25 kB / 1.172 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.8101, allocations: 0.6133 MB / 1.172 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.8123, allocations: 0.971 MB / 1.173 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.8136, allocations: 317.1 kB / 1.174 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.8137, allocations: 66.84 kB / 1.174 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.8164, allocations: 1.164 MB / 1.175 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.8164, allocations: 2.688 kB / 1.175 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.8166, allocations: 34.02 kB / 1.175 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.8166, allocations: 33.88 kB / 1.175 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.8202, allocations: 1.324 MB / 1.176 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.8259, allocations: 2.973 MB / 1.179 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.8277, allocations: 0.7269 MB / 1.18 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.8286, allocations: 458.4 kB / 1.18 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/0.8295, allocations: 1.023 MB / 1.181 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.8305, allocations: 0.5392 MB / 1.182 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.515e-06/0.8306, allocations: 0 / 1.182 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002953/0.8335, allocations: 1.282 MB / 1.183 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.8336, allocations: 114.9 kB / 1.183 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.8355, allocations: 1.207 MB / 1.184 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.8356, allocations: 42.23 kB / 1.184 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8359, allocations: 434.1 kB / 1.185 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.8361, allocations: 200.7 kB / 1.185 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.8362, allocations: 14.66 kB / 1.185 GB, free: 3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8363, allocations: 327.2 kB / 1.185 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.8377, allocations: 0.4931 MB / 1.186 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.8392, allocations: 0.6497 MB / 1.186 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.8406, allocations: 0.5482 MB / 1.187 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.8406, allocations: 2.969 kB / 1.187 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003148/0.8437, allocations: 1.314 MB / 1.188 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.8438, allocations: 33.7 kB / 1.188 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8438, allocations: 3.125 kB / 1.188 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8438, allocations: 4.812 kB / 1.188 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8449, allocations: 218.7 kB / 1.188 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8449, allocations: 5.688 kB / 1.188 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.8466, allocations: 304.8 kB / 1.189 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.8467, allocations: 40.59 kB / 1.189 GB, free: 0.9062 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.0004548/0.8471, allocations: 330.8 kB / 1.189 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.8473, allocations: 117.5 kB / 1.189 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8496, allocations: 1.069 MB / 1.19 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8496, allocations: 9.875 kB / 1.19 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8496, allocations: 3.938 kB / 1.19 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8496, allocations: 3.984 kB / 1.19 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/0.8547, allocations: 3.226 MB / 1.193 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.8547, allocations: 5.938 kB / 1.193 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.8553, allocations: 135.9 kB / 1.193 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.8554, allocations: 10.72 kB / 1.193 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.8554, allocations: 25.89 kB / 1.194 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.8554, allocations: 18.77 kB / 1.194 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.8555, allocations: 8.688 kB / 1.194 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.8578, allocations: 1.33 MB / 1.195 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.8584, allocations: 335.4 kB / 1.195 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8586, allocations: 21.78 kB / 1.195 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8598, allocations: 126.5 kB / 1.195 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.86, allocations: 64.36 kB / 1.195 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/0.86, allocations: 43.17 kB / 1.195 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00164/0.8617, allocations: 0.8725 MB / 1.196 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8617, allocations: 4 kB / 1.196 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00115/0.8629, allocations: 310 kB / 1.197 GB, free: 11.8 MB / 0.7292 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.0008401/0.8637, allocations: 329.6 kB / 1.197 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002786/0.8665, allocations: 1.092 MB / 1.198 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.8665, allocations: 0 / 1.198 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8675, allocations: 0.5321 MB / 1.198 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.8704, allocations: 0.5446 MB / 1.199 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.8746, allocations: 2.323 MB / 1.201 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.8754, allocations: 1.077 MB / 1.202 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001292/0.8767, allocations: 280.3 kB / 1.203 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.877, allocations: 79.41 kB / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.877, allocations: 0 / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of Templates: time 0.03322/0.9102, allocations: 20.84 MB / 1.223 GB, free: 0.8086 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)