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.645/1.645, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.001231/0.001231, allocations: 194.8 kB / 372.3 MB, free: 10.11 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.38/1.38, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0006871/0.0006871, allocations: 90.88 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 16.5 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5385/0.7252, allocations: 176.6 MB / 1.153 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.7365, allocations: 6.521 MB / 1.159 GB, free: 4.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.7387, allocations: 34.72 kB / 1.159 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.741, allocations: 0.4913 MB / 1.159 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/0.747, allocations: 1.938 MB / 1.161 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.7503, allocations: 1.086 MB / 1.162 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004782/0.7551, allocations: 3.21 MB / 1.166 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7564, allocations: 0.7504 MB / 1.166 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.7583, allocations: 0.9483 MB / 1.167 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7597, allocations: 0.7514 MB / 1.168 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.7599, allocations: 42.72 kB / 1.168 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.764, allocations: 2.17 MB / 1.17 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.7644, allocations: 302.5 kB / 1.17 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.7651, allocations: 0.5218 MB / 1.171 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.7676, allocations: 1.766 MB / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7677, allocations: 0 / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7677, allocations: 1.375 kB / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.7677, allocations: 0 / 1.173 GB, free: 11.39 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.003522/0.7712, allocations: 1.408 MB / 1.174 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.7713, allocations: 8.25 kB / 1.174 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.7743, allocations: 0.6107 MB / 1.175 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.7767, allocations: 0.999 MB / 1.176 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/0.7778, allocations: 318.7 kB / 1.176 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.778, allocations: 66.75 kB / 1.176 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.7805, allocations: 1.17 MB / 1.177 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.7806, allocations: 3.938 kB / 1.177 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.645e-05/0.7807, allocations: 26.22 kB / 1.177 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.7807, allocations: 36.39 kB / 1.177 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.784, allocations: 1.322 MB / 1.178 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.7901, allocations: 2.98 MB / 1.181 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.7919, allocations: 0.7345 MB / 1.182 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/0.7927, allocations: 443.9 kB / 1.183 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008524/0.7936, allocations: 1.034 MB / 1.184 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009696/0.7946, allocations: 0.5284 MB / 1.184 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.025e-06/0.7946, allocations: 0 / 1.184 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002922/0.7975, allocations: 1.287 MB / 1.185 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.7976, allocations: 119.1 kB / 1.185 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.7995, allocations: 1.21 MB / 1.187 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.7996, allocations: 42.91 kB / 1.187 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.7999, allocations: 425.6 kB / 1.187 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.8001, allocations: 201.8 kB / 1.187 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.8002, allocations: 10.88 kB / 1.187 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8003, allocations: 334 kB / 1.188 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.8016, allocations: 0.4885 MB / 1.188 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.8031, allocations: 0.6386 MB / 1.189 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.8051, allocations: 0.9965 MB / 1.19 GB, free: 28 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8052, allocations: 0 / 1.19 GB, free: 28 kB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003137/0.8083, allocations: 1.313 MB / 1.191 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.8084, allocations: 35.7 kB / 1.191 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8084, allocations: 0 / 1.191 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8084, allocations: 8.094 kB / 1.191 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.8094, allocations: 226.4 kB / 1.191 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.8094, allocations: 13.59 kB / 1.191 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.811, allocations: 297 kB / 1.191 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.8111, allocations: 36.59 kB / 1.191 GB, free: 15.14 MB / 0.7292 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.0004753/0.8116, allocations: 338.5 kB / 1.192 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8118, allocations: 118 kB / 1.192 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.8138, allocations: 1.056 MB / 1.193 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.8138, allocations: 15.91 kB / 1.193 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8138, allocations: 0 / 1.193 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.8139, allocations: 7.922 kB / 1.193 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.8184, allocations: 3.219 MB / 1.196 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8184, allocations: 10.19 kB / 1.196 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.819, allocations: 128.2 kB / 1.196 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/0.819, allocations: 10.78 kB / 1.196 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.8191, allocations: 28.77 kB / 1.196 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.8191, allocations: 19.77 kB / 1.196 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.8191, allocations: 12.66 kB / 1.196 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.8211, allocations: 1.327 MB / 1.198 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.8216, allocations: 341.3 kB / 1.198 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.8218, allocations: 24 kB / 1.198 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.8229, allocations: 131.9 kB / 1.198 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.823, allocations: 67.73 kB / 1.198 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.8231, allocations: 39.97 kB / 1.198 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001562/0.8247, allocations: 0.8714 MB / 1.199 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8247, allocations: 0 / 1.199 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001214/0.8259, allocations: 311.8 kB / 1.199 GB, free: 9.223 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.0007778/0.8267, allocations: 337.2 kB / 1.2 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.8293, allocations: 1.088 MB / 1.201 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8293, allocations: 0 / 1.201 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009465/0.8302, allocations: 0.5401 MB / 1.201 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/0.8339, allocations: 0.5443 MB / 1.202 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.8375, allocations: 2.32 MB / 1.204 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.8381, allocations: 1.069 MB / 1.205 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001228/0.8394, allocations: 291.9 kB / 1.205 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.8396, allocations: 79.41 kB / 1.205 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.8396, allocations: 0 / 1.205 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of Templates: time 0.03225/0.8719, allocations: 21.12 MB / 1.226 GB, free: 13.82 MB / 0.7605 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)