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.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001178/0.001178, allocations: 188.8 kB / 361.4 MB, free: 6.859 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009416/0.0009416, allocations: 97 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.428e-05, allocations: 8 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6586, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9997/1.658, allocations: 388.4 MB / 1.344 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/1.659, allocations: 87.84 kB / 1.344 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5061/2.165, allocations: 252.2 MB / 1.59 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.233e-06/2.165, allocations: 0 / 1.59 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.884e-05/2.165, allocations: 19.98 kB / 1.59 GB, free: 2.211 MB / 0.9167 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.001723/2.167, allocations: 0.9248 MB / 1.591 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/2.167, allocations: 8.031 kB / 1.591 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/2.167, allocations: 190.9 kB / 1.591 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0285/2.196, allocations: 11.71 MB / 1.603 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/2.196, allocations: 96.64 kB / 1.603 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/2.197, allocations: 24 kB / 1.603 GB, free: 5.027 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000797/2.198, allocations: 289.5 kB / 1.603 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/2.198, allocations: 404.7 kB / 1.603 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/2.198, allocations: 4 kB / 1.603 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/2.198, allocations: 7.938 kB / 1.604 GB, free: 4.316 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/2.199, allocations: 11.95 kB / 1.604 GB, free: 4.305 MB / 0.9323 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.003744/2.202, allocations: 2.181 MB / 1.606 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/2.203, allocations: 258.8 kB / 1.606 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/2.203, allocations: 177 kB / 1.606 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/2.203, allocations: 340.7 kB / 1.606 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/2.204, allocations: 246.7 kB / 1.607 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.396e-06/2.204, allocations: 4 kB / 1.607 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00136/2.205, allocations: 473.7 kB / 1.607 GB, free: 364 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/2.205, allocations: 81.11 kB / 1.607 GB, free: 264 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6505/2.856, allocations: 361.9 kB / 1.608 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/2.856, allocations: 27.98 kB / 1.608 GB, free: 242 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/2.856, allocations: 282.1 kB / 1.608 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/2.856, allocations: 102.8 kB / 1.608 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/2.856, allocations: 2.125 kB / 1.608 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001547/2.857, allocations: 358.1 kB / 1.608 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/2.857, allocations: 121.6 kB / 1.608 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/2.857, allocations: 220.4 kB / 1.609 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/2.858, allocations: 163 kB / 1.609 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.858, allocations: 1.156 kB / 1.609 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001435/2.859, allocations: 0.4949 MB / 1.609 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000255/2.86, allocations: 0.6478 MB / 1.61 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/2.86, allocations: 8.875 kB / 1.61 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/2.86, allocations: 40.06 kB / 1.61 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/2.86, allocations: 87.19 kB / 1.61 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005813/2.861, allocations: 0.6029 MB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/2.862, allocations: 71.98 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/2.862, allocations: 22.16 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/2.862, allocations: 5.25 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/2.863, allocations: 424.8 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/2.863, allocations: 1.781 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/2.863, allocations: 48.81 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/2.863, allocations: 91.81 kB / 1.611 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/2.865, allocations: 1.567 MB / 1.613 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/2.866, allocations: 64.42 kB / 1.613 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/2.866, allocations: 20.81 kB / 1.613 GB, free: 238.9 MB / 0.9323 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.0002319/2.866, allocations: 157.7 kB / 1.613 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00111/2.867, allocations: 477 kB / 1.613 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/2.867, allocations: 57.25 kB / 1.613 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/2.868, allocations: 0.5171 MB / 1.614 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/2.868, allocations: 7.594 kB / 1.614 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/2.868, allocations: 2 kB / 1.614 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/2.87, allocations: 0.6856 MB / 1.615 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/2.872, allocations: 1.123 MB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/2.872, allocations: 0.875 kB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/2.872, allocations: 69.91 kB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/2.872, allocations: 41 kB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/2.872, allocations: 11.47 kB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003493/2.873, allocations: 0.5759 MB / 1.616 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.873, allocations: 3.812 kB / 1.616 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/2.874, allocations: 0.8491 MB / 1.617 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/2.874, allocations: 186 kB / 1.617 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/2.875, allocations: 6.219 kB / 1.617 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/2.875, allocations: 62.61 kB / 1.618 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/2.875, allocations: 27.44 kB / 1.618 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/2.875, allocations: 24.34 kB / 1.618 GB, free: 237 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000336/2.876, allocations: 287.6 kB / 1.618 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/2.876, allocations: 0 / 1.618 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001453/2.877, allocations: 367.6 kB / 1.618 GB, free: 236.9 MB / 0.9323 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.002193/2.879, allocations: 1.864 MB / 1.62 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001346/2.881, allocations: 0.7995 MB / 1.621 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.881, allocations: 0 / 1.621 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/2.881, allocations: 265.7 kB / 1.621 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/2.882, allocations: 211.8 kB / 1.621 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/2.885, allocations: 0.9165 MB / 1.622 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/2.885, allocations: 0.8911 MB / 1.623 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007146/2.886, allocations: 148.4 kB / 1.623 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/2.886, allocations: 191.3 kB / 1.623 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of SimCode: time 8.51e-07/2.886, allocations: 0 / 1.623 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/2.935, allocations: 15.97 MB / 1.639 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/2.936, allocations: 183 kB / 1.639 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/5.565, allocations: 0 / 1.639 GB, free: 234.2 MB / 0.9323 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)