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.316/1.316, allocations: 252 MB / 268 MB, free: 10.87 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.001045/0.001045, allocations: 190.1 kB / 327.6 MB, free: 2.086 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.465/1.465, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0007637/0.0007639, allocations: 82.36 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004074, allocations: 12.47 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1588, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01471/0.1735, allocations: 20.17 MB / 0.9211 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.1793, allocations: 5.337 MB / 0.9264 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.18, allocations: 15.88 kB / 0.9264 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.1809, allocations: 290.4 kB / 0.9266 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.183, allocations: 0.8633 MB / 0.9275 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.1849, allocations: 0.7966 MB / 0.9283 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1868, allocations: 2.273 MB / 0.9305 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.1875, allocations: 426.3 kB / 0.9309 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.1885, allocations: 0.5952 MB / 0.9315 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.1891, allocations: 0.49 MB / 0.932 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.1892, allocations: 24 kB / 0.932 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1908, allocations: 1.092 MB / 0.933 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.191, allocations: 123.5 kB / 0.9332 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.1912, allocations: 324 kB / 0.9335 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.1922, allocations: 0.8578 MB / 0.9343 GB, free: 29.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1922, allocations: 0 / 0.9343 GB, free: 29.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1922, allocations: 0 / 0.9343 GB, free: 29.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.1922, allocations: 0 / 0.9343 GB, free: 29.74 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.001192/0.1934, allocations: 0.917 MB / 0.9352 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1934, allocations: 8.031 kB / 0.9352 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.1942, allocations: 207.9 kB / 0.9354 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.195, allocations: 0.5495 MB / 0.9359 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.1953, allocations: 100.9 kB / 0.936 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.1954, allocations: 40 kB / 0.9361 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.1962, allocations: 0.496 MB / 0.9366 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1962, allocations: 4 kB / 0.9366 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.1963, allocations: 16 kB / 0.9366 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1963, allocations: 8 kB / 0.9366 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.1971, allocations: 426.6 kB / 0.937 GB, free: 26.86 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.002187/0.1993, allocations: 2.293 MB / 0.9392 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/0.2003, allocations: 398.9 kB / 0.9396 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.2007, allocations: 241 kB / 0.9398 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.2009, allocations: 344.7 kB / 0.9402 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.2015, allocations: 298.2 kB / 0.9405 GB, free: 23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.2015, allocations: 0 / 0.9405 GB, free: 23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001946/0.2034, allocations: 0.8851 MB / 0.9413 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.2035, allocations: 85.05 kB / 0.9414 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2039, allocations: 499 kB / 0.9419 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2039, allocations: 41.58 kB / 0.9419 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2041, allocations: 276.4 kB / 0.9422 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.2041, allocations: 106.5 kB / 0.9423 GB, free: 21.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.2042, allocations: 4 kB / 0.9423 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.2042, allocations: 366.8 kB / 0.9426 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.2046, allocations: 179.9 kB / 0.9428 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.2051, allocations: 277.5 kB / 0.9431 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.2059, allocations: 489.1 kB / 0.9435 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2059, allocations: 3.938 kB / 0.9435 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00121/0.2071, allocations: 0.6317 MB / 0.9442 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.2072, allocations: 167.9 kB / 0.9443 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2072, allocations: 8 kB / 0.9443 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.2075, allocations: 68.88 kB / 0.9444 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.2079, allocations: 83.88 kB / 0.9445 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003055/0.2082, allocations: 0.603 MB / 0.9451 GB, free: 18.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.2087, allocations: 71.7 kB / 0.9451 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.2088, allocations: 23.98 kB / 0.9452 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/0.2088, allocations: 0 / 0.9452 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/0.2099, allocations: 0.5604 MB / 0.9457 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2099, allocations: 4 kB / 0.9457 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.21, allocations: 44.98 kB / 0.9458 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2103, allocations: 87.88 kB / 0.9458 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2114, allocations: 1.642 MB / 0.9474 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.2119, allocations: 79.78 kB / 0.9475 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2119, allocations: 16 kB / 0.9475 GB, free: 15.38 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 ($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 (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.0002412/0.2122, allocations: 302.6 kB / 0.9478 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2123, allocations: 55.34 kB / 0.9479 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.2135, allocations: 0.6609 MB / 0.9485 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2135, allocations: 4 kB / 0.9485 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2135, allocations: 0 / 0.9485 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.2146, allocations: 0.8326 MB / 0.9493 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.2164, allocations: 1.315 MB / 0.9506 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2164, allocations: 4 kB / 0.9506 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.2167, allocations: 67.98 kB / 0.9507 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.2169, allocations: 48.81 kB / 0.9507 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.2169, allocations: 12 kB / 0.9507 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002209/0.2171, allocations: 0.5759 MB / 0.9513 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2171, allocations: 3.938 kB / 0.9513 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2187, allocations: 0.9914 MB / 0.9523 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.2189, allocations: 180.3 kB / 0.9525 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.219, allocations: 12 kB / 0.9525 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.2195, allocations: 71.84 kB / 0.9525 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.2196, allocations: 19.97 kB / 0.9526 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.2196, allocations: 19.98 kB / 0.9526 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002994/0.22, allocations: 346.8 kB / 0.9529 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.22, allocations: 0 / 0.9529 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009698/0.2209, allocations: 335.5 kB / 0.9532 GB, free: 9.273 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.0005767/0.2215, allocations: 309.3 kB / 0.9535 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.2233, allocations: 1.007 MB / 0.9545 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2233, allocations: 4.062 kB / 0.9545 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.2239, allocations: 336 kB / 0.9548 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.2252, allocations: 250.7 kB / 0.9551 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.227, allocations: 1.409 MB / 0.9564 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2273, allocations: 0.8783 MB / 0.9573 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2274, allocations: 51.42 kB / 0.9573 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2275, allocations: 0 / 0.9573 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of Templates: time 0.01458/0.242, allocations: 11.37 MB / 0.9685 GB, free: 9.609 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)