Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 173.7 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006929/0.0006932, allocations: 83.8 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 11.72 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01358/0.1886, allocations: 20.44 MB / 0.9167 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005508/0.1941, allocations: 5.417 MB / 0.922 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.1947, allocations: 23.81 kB / 0.922 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.1954, allocations: 278.5 kB / 0.9223 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.1971, allocations: 0.8672 MB / 0.9231 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1989, allocations: 0.7929 MB / 0.9239 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.2005, allocations: 2.279 MB / 0.9261 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.201, allocations: 420.8 kB / 0.9265 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.2018, allocations: 0.599 MB / 0.9271 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.2023, allocations: 493.8 kB / 0.9276 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.2024, allocations: 24 kB / 0.9276 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2041, allocations: 1.092 MB / 0.9287 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2042, allocations: 123.4 kB / 0.9288 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.2045, allocations: 298.3 kB / 0.9291 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.2054, allocations: 0.8458 MB / 0.9299 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2054, allocations: 4 kB / 0.9299 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2054, allocations: 4 kB / 0.9299 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2054, allocations: 0 / 0.9299 GB, free: 34.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001169/0.2066, allocations: 0.9209 MB / 0.9308 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2067, allocations: 12.03 kB / 0.9308 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.2075, allocations: 192 kB / 0.931 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.2083, allocations: 0.5614 MB / 0.9315 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.2086, allocations: 96.88 kB / 0.9316 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.2086, allocations: 40 kB / 0.9317 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.2094, allocations: 0.4921 MB / 0.9322 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2095, allocations: 0 / 0.9322 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2095, allocations: 20 kB / 0.9322 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.2095, allocations: 15.94 kB / 0.9322 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.2104, allocations: 430.6 kB / 0.9326 GB, free: 31.2 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.2126, allocations: 2.289 MB / 0.9348 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.2135, allocations: 394.9 kB / 0.9352 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.2139, allocations: 233 kB / 0.9354 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.2141, allocations: 340.7 kB / 0.9358 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/0.2147, allocations: 314.1 kB / 0.9361 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.2147, allocations: 0 / 0.9361 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001942/0.2166, allocations: 0.889 MB / 0.9369 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.2167, allocations: 81.11 kB / 0.937 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.2171, allocations: 494.9 kB / 0.9375 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2171, allocations: 33.7 kB / 0.9375 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2173, allocations: 276.4 kB / 0.9378 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.2173, allocations: 110.4 kB / 0.9379 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.2174, allocations: 37.7 kB / 0.9379 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.2175, allocations: 362.8 kB / 0.9383 GB, free: 25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.2179, allocations: 183.9 kB / 0.9384 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.2183, allocations: 285.5 kB / 0.9387 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.2191, allocations: 481.1 kB / 0.9392 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2191, allocations: 0 / 0.9392 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001207/0.2203, allocations: 0.6434 MB / 0.9398 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.2204, allocations: 167.9 kB / 0.9399 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2204, allocations: 0 / 0.9399 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.2207, allocations: 64.81 kB / 0.94 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.2211, allocations: 87.88 kB / 0.9401 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003363/0.2214, allocations: 0.603 MB / 0.9407 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.2219, allocations: 79.72 kB / 0.9408 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.222, allocations: 16 kB / 0.9408 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.222, allocations: 4 kB / 0.9408 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.223, allocations: 0.5643 MB / 0.9413 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.223, allocations: 0 / 0.9413 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.2231, allocations: 48.83 kB / 0.9414 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.2235, allocations: 88.03 kB / 0.9415 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009768/0.2245, allocations: 1.642 MB / 0.9431 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.2249, allocations: 75.7 kB / 0.9431 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.2249, allocations: 20.17 kB / 0.9432 GB, free: 19.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.2252, allocations: 302.1 kB / 0.9434 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.2253, allocations: 55.34 kB / 0.9435 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2265, allocations: 0.6648 MB / 0.9441 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2265, allocations: 7.938 kB / 0.9442 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2265, allocations: 3.984 kB / 0.9442 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.2276, allocations: 0.821 MB / 0.945 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2294, allocations: 1.326 MB / 0.9463 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2294, allocations: 0 / 0.9463 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.2297, allocations: 75.97 kB / 0.9463 GB, free: 16.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2299, allocations: 40.84 kB / 0.9464 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.2299, allocations: 11.98 kB / 0.9464 GB, free: 16.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002261/0.2301, allocations: 0.5758 MB / 0.9469 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2301, allocations: 3.938 kB / 0.9469 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2317, allocations: 1.003 MB / 0.9479 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.2319, allocations: 176.3 kB / 0.9481 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.232, allocations: 8 kB / 0.9481 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.2325, allocations: 60 kB / 0.9482 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2326, allocations: 19.97 kB / 0.9482 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2326, allocations: 27.98 kB / 0.9482 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002847/0.2329, allocations: 342.8 kB / 0.9485 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2329, allocations: 4 kB / 0.9485 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008881/0.2338, allocations: 335.5 kB / 0.9489 GB, free: 13.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005679/0.2344, allocations: 308.6 kB / 0.9491 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.2361, allocations: 1.007 MB / 0.9501 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2361, allocations: 0 / 0.9501 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.2367, allocations: 336.1 kB / 0.9504 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2379, allocations: 237.9 kB / 0.9507 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.2399, allocations: 1.349 MB / 0.952 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2402, allocations: 0.8822 MB / 0.9529 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2404, allocations: 51.41 kB / 0.9529 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2404, allocations: 0 / 0.9529 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of Templates: time 0.01206/0.2524, allocations: 11.36 MB / 0.964 GB, free: 13.99 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)