Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.0009178/0.0009176, allocations: 188.4 kB / 372 MB, free: 10.23 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.44/1.44, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0007578/0.0007578, allocations: 93.17 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 12.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01362/0.2236, allocations: 19.11 MB / 0.9983 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006434/0.2301, allocations: 5.007 MB / 1.003 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.2309, allocations: 23.81 kB / 1.003 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.2316, allocations: 254.4 kB / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.2334, allocations: 0.7435 MB / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.2354, allocations: 0.7621 MB / 1.005 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.2373, allocations: 1.934 MB / 1.007 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.238, allocations: 402.9 kB / 1.007 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.2391, allocations: 0.5874 MB / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.2398, allocations: 458 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.2399, allocations: 24 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.2417, allocations: 0.9629 MB / 1.009 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.2419, allocations: 119.5 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.2421, allocations: 137.4 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2432, allocations: 0.8224 MB / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2432, allocations: 0 / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2432, allocations: 0 / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2432, allocations: 0 / 1.01 GB, free: 12.13 MB / 0.6355 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.001553/0.2448, allocations: 0.9325 MB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2448, allocations: 8.031 kB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/0.2449, allocations: 74.53 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.2459, allocations: 191.1 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.247, allocations: 0.5453 MB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.2474, allocations: 100.9 kB / 1.012 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.2475, allocations: 40 kB / 1.012 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.2485, allocations: 0.496 MB / 1.013 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2485, allocations: 0 / 1.013 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.2485, allocations: 19.98 kB / 1.013 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.2486, allocations: 8 kB / 1.013 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2496, allocations: 430.6 kB / 1.013 GB, free: 9.168 MB / 0.6355 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.002984/0.2526, allocations: 2.297 MB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2537, allocations: 398.8 kB / 1.016 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.2542, allocations: 233 kB / 1.016 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.2545, allocations: 340.6 kB / 1.016 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006542/0.2552, allocations: 304.1 kB / 1.016 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.2552, allocations: 4 kB / 1.016 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002401/0.2576, allocations: 0.8919 MB / 1.017 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2577, allocations: 89.05 kB / 1.017 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.2583, allocations: 491 kB / 1.018 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.2584, allocations: 29.7 kB / 1.018 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.2586, allocations: 280.4 kB / 1.018 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.2587, allocations: 106.5 kB / 1.018 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.2587, allocations: 4 kB / 1.018 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2589, allocations: 362.8 kB / 1.019 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.2594, allocations: 187.8 kB / 1.019 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.2599, allocations: 265.1 kB / 1.019 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.2604, allocations: 229.5 kB / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.2604, allocations: 0 / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001506/0.2619, allocations: 0.6395 MB / 1.02 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.262, allocations: 165.7 kB / 1.02 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2621, allocations: 3.984 kB / 1.02 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2624, allocations: 68.81 kB / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.2628, allocations: 83.89 kB / 1.02 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/0.2633, allocations: 0.5953 MB / 1.021 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.2639, allocations: 83.61 kB / 1.021 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.2639, allocations: 15.98 kB / 1.021 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.264, allocations: 4 kB / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.2652, allocations: 0.5605 MB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2652, allocations: 0 / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.2654, allocations: 52.73 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.2657, allocations: 88.03 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2674, allocations: 1.619 MB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.268, allocations: 79.7 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.2681, allocations: 15.98 kB / 1.023 GB, free: 14 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004415/0.2685, allocations: 300.7 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2686, allocations: 59.34 kB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2701, allocations: 0.6648 MB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2702, allocations: 3.953 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2702, allocations: 12.06 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.2715, allocations: 0.8093 MB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.2738, allocations: 1.322 MB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2738, allocations: 0 / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.2742, allocations: 68.05 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.2744, allocations: 52.8 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2744, allocations: 12 kB / 1.026 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/0.2748, allocations: 0.5718 MB / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2748, allocations: 0 / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.2767, allocations: 1.003 MB / 1.028 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.277, allocations: 188.3 kB / 1.028 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.2771, allocations: 11.95 kB / 1.028 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.2776, allocations: 60 kB / 1.028 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.2777, allocations: 27.91 kB / 1.028 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.2778, allocations: 24.05 kB / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004224/0.2782, allocations: 338.8 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2782, allocations: 0 / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001069/0.2793, allocations: 343.5 kB / 1.029 GB, free: 7.883 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002678/0.282, allocations: 1.71 MB / 1.031 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.2841, allocations: 0.9941 MB / 1.032 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2841, allocations: 4 kB / 1.032 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.2848, allocations: 331.4 kB / 1.032 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.2862, allocations: 237.3 kB / 1.032 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.2926, allocations: 3.495 MB / 1.036 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2931, allocations: 0.8745 MB / 1.036 GB, free: 52 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000636/0.2937, allocations: 132.3 kB / 1.037 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.294, allocations: 191.4 kB / 1.037 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of SimCode: time 5.21e-07/0.294, allocations: 0 / 1.037 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3262, allocations: 16 MB / 1.052 GB, free: 4 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.3265, allocations: 272.6 kB / 1.053 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.751, allocations: 0 / 1.053 GB, free: 15.65 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)