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.0008962/0.0008959, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001036/0.001036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.509/1.509, allocations: 252 MB / 0.5102 GB, free: 4.812 MB / 414.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.0005302/0.0005303, allocations: 12 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4537, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1786/0.6323, allocations: 176.8 MB / 0.9008 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009361/0.6417, allocations: 6.621 MB / 0.9073 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.6429, allocations: 35.69 kB / 0.9073 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6443, allocations: 472.8 kB / 0.9078 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.6485, allocations: 1.69 MB / 0.9094 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.6513, allocations: 1.087 MB / 0.9105 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4291/1.08, allocations: 3.174 MB / 0.9136 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/1.082, allocations: 0.6658 MB / 0.9142 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/1.085, allocations: 0.937 MB / 0.9151 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/1.087, allocations: 0.8009 MB / 0.9159 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.088, allocations: 46.62 kB / 0.916 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/1.092, allocations: 1.218 MB / 0.9172 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005993/1.093, allocations: 304.3 kB / 0.9174 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008655/1.093, allocations: 238.4 kB / 0.9177 GB, free: 22.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/1.096, allocations: 1.629 MB / 0.9193 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.096, allocations: 0 / 0.9193 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/1.096, allocations: 0.6875 kB / 0.9193 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.91e-05/1.096, allocations: 0 / 0.9193 GB, free: 22.88 MB / 0.7325 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.003816/1.1, allocations: 1.427 MB / 0.9207 GB, free: 22.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.1, allocations: 12.61 kB / 0.9207 GB, free: 22.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/1.103, allocations: 0.5955 MB / 0.9213 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/1.106, allocations: 0.9684 MB / 0.9222 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/1.107, allocations: 320.4 kB / 0.9225 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.107, allocations: 68.56 kB / 0.9226 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/1.109, allocations: 1.169 MB / 0.9237 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.109, allocations: 2.062 kB / 0.9237 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/1.11, allocations: 25.19 kB / 0.9237 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/1.11, allocations: 33.5 kB / 0.9238 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/1.113, allocations: 1.327 MB / 0.9251 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/1.118, allocations: 3.068 MB / 0.9281 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.12, allocations: 0.7301 MB / 0.9288 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/1.121, allocations: 457.1 kB / 0.9292 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008955/1.122, allocations: 1.026 MB / 0.9302 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009223/1.123, allocations: 0.5357 MB / 0.9307 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 3.716e-06/1.123, allocations: 6.484 kB / 0.9307 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002735/1.125, allocations: 1.285 MB / 0.932 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.125, allocations: 116.9 kB / 0.9321 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.127, allocations: 1.211 MB / 0.9333 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/1.127, allocations: 34.89 kB / 0.9333 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/1.128, allocations: 436.7 kB / 0.9337 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.128, allocations: 195.1 kB / 0.9339 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/1.128, allocations: 12.78 kB / 0.9339 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.128, allocations: 333 kB / 0.9343 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.129, allocations: 497.5 kB / 0.9347 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.13, allocations: 0.654 MB / 0.9354 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.132, allocations: 0.546 MB / 0.9359 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.132, allocations: 0 / 0.9359 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002913/1.134, allocations: 1.315 MB / 0.9372 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.135, allocations: 34.42 kB / 0.9372 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.135, allocations: 8.141 kB / 0.9372 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.135, allocations: 6.406 kB / 0.9372 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/1.136, allocations: 216.2 kB / 0.9374 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.136, allocations: 6.031 kB / 0.9374 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.137, allocations: 303.5 kB / 0.9377 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/1.137, allocations: 38.39 kB / 0.9378 GB, free: 17.93 MB / 0.7325 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.0005469/1.138, allocations: 326.7 kB / 0.9381 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.138, allocations: 119.7 kB / 0.9382 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.14, allocations: 1.069 MB / 0.9392 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.14, allocations: 11.81 kB / 0.9393 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.14, allocations: 0 / 0.9393 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.14, allocations: 3.141 kB / 0.9393 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/1.145, allocations: 3.221 MB / 0.9424 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.145, allocations: 8.406 kB / 0.9424 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/1.145, allocations: 132.7 kB / 0.9425 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/1.145, allocations: 11.22 kB / 0.9425 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/1.145, allocations: 24.61 kB / 0.9426 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/1.145, allocations: 15.38 kB / 0.9426 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.145, allocations: 22.05 kB / 0.9426 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/1.147, allocations: 1.331 MB / 0.9439 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/1.148, allocations: 330.8 kB / 0.9442 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.148, allocations: 24.16 kB / 0.9442 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.149, allocations: 126.7 kB / 0.9444 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.149, allocations: 61.19 kB / 0.9444 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/1.149, allocations: 45.58 kB / 0.9445 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001325/1.151, allocations: 0.8812 MB / 0.9453 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.151, allocations: 2.906 kB / 0.9453 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001175/1.152, allocations: 302.1 kB / 0.9456 GB, free: 16.03 MB / 0.7325 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.0006834/1.152, allocations: 338.2 kB / 0.9459 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002195/1.155, allocations: 1.08 MB / 0.947 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.155, allocations: 0 / 0.947 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/1.155, allocations: 0.5394 MB / 0.9475 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.158, allocations: 0.5369 MB / 0.948 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/1.162, allocations: 2.297 MB / 0.9503 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.162, allocations: 1.074 MB / 0.9513 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00126/1.164, allocations: 284.5 kB / 0.9516 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.164, allocations: 81.05 kB / 0.9517 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/1.164, allocations: 0 / 0.9517 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.03216/1.196, allocations: 20.85 MB / 0.972 GB, free: 6.754 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: