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.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001142/0.001142, allocations: 194.2 kB / 371.8 MB, free: 10.28 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.664/1.664, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001026/0.001025, allocations: 100.3 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004337, allocations: 16.7 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01315/0.2125, allocations: 17.49 MB / 0.9966 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006082/0.2186, allocations: 4.627 MB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.2196, allocations: 19.88 kB / 1.001 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.2204, allocations: 294.6 kB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.2227, allocations: 0.7946 MB / 1.002 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.2252, allocations: 0.9013 MB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.2268, allocations: 1.02 MB / 1.004 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.2274, allocations: 411 kB / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.2284, allocations: 0.5295 MB / 1.005 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.2289, allocations: 334.5 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.2289, allocations: 24 kB / 1.005 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2305, allocations: 0.8307 MB / 1.006 GB, free: 308 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2307, allocations: 115.5 kB / 1.006 GB, free: 192 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.2308, allocations: 141.4 kB / 1.006 GB, free: 44 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.232, allocations: 0.7756 MB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2321, allocations: 4 kB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2321, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2321, allocations: 0 / 1.007 GB, free: 15.26 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.001815/0.2339, allocations: 0.9013 MB / 1.008 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.234, allocations: 19.97 kB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2341, allocations: 78.52 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.235, allocations: 191.1 kB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.2359, allocations: 0.4987 MB / 1.009 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.2363, allocations: 100.9 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.2364, allocations: 40 kB / 1.009 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2374, allocations: 0.496 MB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2374, allocations: 4 kB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.2375, allocations: 16 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.2375, allocations: 8 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.2385, allocations: 422.6 kB / 1.01 GB, free: 12.38 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.003274/0.2418, allocations: 2.336 MB / 1.012 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2428, allocations: 394.9 kB / 1.012 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.2432, allocations: 340.7 kB / 1.013 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/0.2438, allocations: 316.5 kB / 1.013 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.717e-06/0.2439, allocations: 0 / 1.013 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002456/0.2463, allocations: 0.9517 MB / 1.014 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2464, allocations: 81.11 kB / 1.014 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.247, allocations: 0.4989 MB / 1.015 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.2471, allocations: 33.7 kB / 1.015 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.2473, allocations: 280.4 kB / 1.015 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.2474, allocations: 98.55 kB / 1.015 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.2474, allocations: 8 kB / 1.015 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2476, allocations: 362.8 kB / 1.015 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.248, allocations: 183.8 kB / 1.015 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.2485, allocations: 269.1 kB / 1.016 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.249, allocations: 225.6 kB / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.249, allocations: 0 / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001445/0.2505, allocations: 0.6397 MB / 1.017 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/0.2508, allocations: 0.6471 MB / 1.017 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2508, allocations: 4 kB / 1.017 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.2512, allocations: 68.81 kB / 1.017 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.2515, allocations: 87.81 kB / 1.017 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004877/0.252, allocations: 0.5952 MB / 1.018 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.2526, allocations: 91.5 kB / 1.018 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.2527, allocations: 20 kB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.2527, allocations: 4 kB / 1.018 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/0.2539, allocations: 0.5567 MB / 1.019 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2539, allocations: 4 kB / 1.019 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.2541, allocations: 48.78 kB / 1.019 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2544, allocations: 83.91 kB / 1.019 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.2561, allocations: 1.635 MB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.2568, allocations: 71.7 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.2568, allocations: 19.98 kB / 1.02 GB, free: 0.7773 MB / 0.6355 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.0004366/0.2573, allocations: 301.8 kB / 1.021 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.2574, allocations: 59.34 kB / 1.021 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.2589, allocations: 0.661 MB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.259, allocations: 11.94 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.259, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.2602, allocations: 0.8093 MB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2626, allocations: 1.33 MB / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2627, allocations: 8.094 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.263, allocations: 63.95 kB / 1.024 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.2632, allocations: 44.77 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2632, allocations: 20 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003969/0.2636, allocations: 0.5719 MB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2636, allocations: 0 / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2656, allocations: 1.052 MB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.2659, allocations: 184.2 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.266, allocations: 16 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.2665, allocations: 60 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.2666, allocations: 11.98 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.2667, allocations: 27.97 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003975/0.2671, allocations: 354.8 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2671, allocations: 0 / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001036/0.2681, allocations: 347.4 kB / 1.026 GB, free: 10.59 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.002826/0.271, allocations: 1.955 MB / 1.028 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.2731, allocations: 0.9979 MB / 1.029 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2731, allocations: 0 / 1.029 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.2738, allocations: 335.4 kB / 1.029 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.2752, allocations: 243.9 kB / 1.03 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.2816, allocations: 4.393 MB / 1.034 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.2822, allocations: 0.8939 MB / 1.035 GB, free: 1.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006176/0.2828, allocations: 128.3 kB / 1.035 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.2831, allocations: 195.4 kB / 1.035 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/0.2831, allocations: 0 / 1.035 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.349/1.632, allocations: 16.26 MB / 1.051 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.632, allocations: 271.4 kB / 1.051 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.624, allocations: 0 / 1.051 GB, free: 0.8789 MB / 0.6667 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)