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.718/1.718, allocations: 285.4 MB / 298 MB, free: 5.98 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.001116/0.001116, allocations: 176.8 kB / 366.4 MB, free: 2.082 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.62/1.62, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008051/0.0008051, allocations: 83.81 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.546e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6334, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.656, allocations: 389.1 MB / 1.351 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.656, allocations: 85.02 kB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5073/2.163, allocations: 253.9 MB / 1.599 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.783e-06/2.163, allocations: 0 / 1.599 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.009e-05/2.163, allocations: 24.17 kB / 1.599 GB, free: 8.898 MB / 0.9323 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.001926/2.165, allocations: 0.9222 MB / 1.6 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.165, allocations: 8.031 kB / 1.6 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/2.165, allocations: 70.53 kB / 1.6 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/2.166, allocations: 194.9 kB / 1.6 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02728/2.193, allocations: 11.76 MB / 1.612 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/2.194, allocations: 92.72 kB / 1.612 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/2.194, allocations: 40 kB / 1.612 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/2.195, allocations: 458.3 kB / 1.612 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/2.195, allocations: 0 / 1.612 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/2.195, allocations: 20 kB / 1.612 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/2.195, allocations: 15.95 kB / 1.612 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/2.196, allocations: 311 kB / 1.613 GB, free: 10.77 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003572/2.199, allocations: 2.264 MB / 1.615 GB, free: 8.301 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/2.2, allocations: 279 kB / 1.615 GB, free: 8.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/2.2, allocations: 181 kB / 1.615 GB, free: 7.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/2.2, allocations: 348.7 kB / 1.616 GB, free: 7.426 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/2.201, allocations: 251.9 kB / 1.616 GB, free: 7.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/2.201, allocations: 0 / 1.616 GB, free: 7.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.00101/2.202, allocations: 496.4 kB / 1.616 GB, free: 6.664 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/2.202, allocations: 89.11 kB / 1.616 GB, free: 6.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/2.203, allocations: 424.8 kB / 1.617 GB, free: 6.133 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/2.203, allocations: 33.7 kB / 1.617 GB, free: 6.094 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/2.203, allocations: 280.4 kB / 1.617 GB, free: 5.816 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/2.203, allocations: 106.5 kB / 1.617 GB, free: 5.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/2.203, allocations: 8 kB / 1.617 GB, free: 5.703 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001638/2.203, allocations: 358.8 kB / 1.617 GB, free: 5.344 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/2.203, allocations: 131.9 kB / 1.618 GB, free: 5.215 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/2.204, allocations: 227.2 kB / 1.618 GB, free: 4.953 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/2.204, allocations: 185.4 kB / 1.618 GB, free: 4.766 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/2.204, allocations: 4.047 kB / 1.618 GB, free: 4.762 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009283/2.205, allocations: 0.5188 MB / 1.619 GB, free: 4.227 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003397/2.205, allocations: 0.6451 MB / 1.619 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/2.205, allocations: 4 kB / 1.619 GB, free: 3.523 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/2.206, allocations: 60.81 kB / 1.619 GB, free: 3.461 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/2.206, allocations: 79.89 kB / 1.619 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/2.206, allocations: 0.5991 MB / 1.62 GB, free: 2.758 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/2.207, allocations: 83.7 kB / 1.62 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/2.207, allocations: 19.98 kB / 1.62 GB, free: 2.656 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/2.207, allocations: 4 kB / 1.62 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008348/2.208, allocations: 486.1 kB / 1.62 GB, free: 2.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/2.208, allocations: 4.188 kB / 1.62 GB, free: 2.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/2.208, allocations: 52.77 kB / 1.62 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/2.209, allocations: 83.88 kB / 1.621 GB, free: 2.027 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/2.21, allocations: 1.635 MB / 1.622 GB, free: 252 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/2.211, allocations: 83.69 kB / 1.622 GB, free: 168 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/2.211, allocations: 16 kB / 1.622 GB, free: 152 kB / 0.948 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 () * 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.6789/2.89, allocations: 155.1 kB / 1.622 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/2.89, allocations: 56.06 kB / 1.622 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/2.891, allocations: 0.5648 MB / 1.623 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/2.891, allocations: 4.531 kB / 1.623 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/2.891, allocations: 0 / 1.623 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008918/2.892, allocations: 0.7264 MB / 1.624 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/2.895, allocations: 1.219 MB / 1.625 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/2.895, allocations: 1.406 kB / 1.625 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/2.895, allocations: 80.56 kB / 1.625 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/2.895, allocations: 44.72 kB / 1.625 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/2.895, allocations: 16.03 kB / 1.625 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003017/2.895, allocations: 0.5715 MB / 1.626 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.896, allocations: 1.5 kB / 1.626 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/2.897, allocations: 0.8827 MB / 1.626 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/2.897, allocations: 193.3 kB / 1.627 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/2.897, allocations: 9.734 kB / 1.627 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/2.898, allocations: 69.05 kB / 1.627 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/2.898, allocations: 26.52 kB / 1.627 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/2.898, allocations: 22.67 kB / 1.627 GB, free: 252.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004641/2.898, allocations: 334.6 kB / 1.627 GB, free: 252 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/2.898, allocations: 1.125 kB / 1.627 GB, free: 252 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001525/2.9, allocations: 383.2 kB / 1.627 GB, free: 252 MB / 0.948 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) * 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.002497/2.903, allocations: 1.913 MB / 1.629 GB, free: 251 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001634/2.904, allocations: 0.8515 MB / 1.63 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.904, allocations: 1.25 kB / 1.63 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/2.905, allocations: 269.3 kB / 1.63 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/2.906, allocations: 238 kB / 1.631 GB, free: 250.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/2.908, allocations: 0.9363 MB / 1.632 GB, free: 250.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/2.909, allocations: 0.8931 MB / 1.632 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007071/2.91, allocations: 161 kB / 1.633 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/2.91, allocations: 187.2 kB / 1.633 GB, free: 249.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.823e-06/2.91, allocations: 0 / 1.633 GB, free: 249.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/2.968, allocations: 18.85 MB / 1.651 GB, free: 249.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/2.968, allocations: 239.6 kB / 1.651 GB, free: 249.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/5.679, allocations: 0 / 1.651 GB, free: 249.1 MB / 0.948 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)