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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.0009898/0.0009898, allocations: 180.9 kB / 361.4 MB, free: 6.828 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.853/1.853, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008156/0.0008157, allocations: 93.66 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.397e-05, allocations: 8 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6647, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.676, allocations: 388.4 MB / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/1.676, allocations: 90 kB / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4766/2.152, allocations: 252.2 MB / 1.59 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.964e-06/2.152, allocations: 0 / 1.59 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.538e-05/2.153, allocations: 20 kB / 1.59 GB, free: 2.348 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.001935/2.155, allocations: 0.9209 MB / 1.591 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/2.155, allocations: 8.031 kB / 1.591 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/2.155, allocations: 187 kB / 1.591 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02511/2.18, allocations: 11.72 MB / 1.603 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/2.181, allocations: 88.72 kB / 1.603 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/2.181, allocations: 24 kB / 1.603 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005592/2.182, allocations: 293.5 kB / 1.603 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/2.182, allocations: 404.7 kB / 1.603 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/2.182, allocations: 4 kB / 1.603 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/2.182, allocations: 0 / 1.603 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/2.182, allocations: 15.95 kB / 1.603 GB, free: 4.449 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.002934/2.185, allocations: 2.177 MB / 1.606 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/2.186, allocations: 258.8 kB / 1.606 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/2.186, allocations: 173 kB / 1.606 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/2.186, allocations: 344.7 kB / 1.606 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/2.187, allocations: 250.7 kB / 1.607 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/2.187, allocations: 4 kB / 1.607 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001088/2.188, allocations: 474 kB / 1.607 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/2.188, allocations: 81.11 kB / 1.607 GB, free: 408 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/2.188, allocations: 365.4 kB / 1.607 GB, free: 40 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/2.188, allocations: 29.7 kB / 1.607 GB, free: 4 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.5319/2.72, allocations: 274.6 kB / 1.608 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/2.72, allocations: 102.6 kB / 1.608 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/2.72, allocations: 1.219 kB / 1.608 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.721, allocations: 362.4 kB / 1.608 GB, free: 242 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/2.721, allocations: 116.9 kB / 1.608 GB, free: 242 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/2.721, allocations: 223.9 kB / 1.608 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/2.722, allocations: 160.9 kB / 1.609 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.722, allocations: 0.5312 kB / 1.609 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001248/2.723, allocations: 0.4925 MB / 1.609 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/2.723, allocations: 0.6484 MB / 1.61 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.723, allocations: 2.969 kB / 1.61 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/2.723, allocations: 46.7 kB / 1.61 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/2.724, allocations: 87.44 kB / 1.61 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/2.724, allocations: 0.6017 MB / 1.61 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/2.725, allocations: 72.41 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/2.725, allocations: 21.73 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/2.725, allocations: 7.469 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009521/2.726, allocations: 428.5 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/2.726, allocations: 1.875 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/2.726, allocations: 48.7 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/2.726, allocations: 86.08 kB / 1.611 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/2.728, allocations: 1.57 MB / 1.613 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/2.728, allocations: 65.08 kB / 1.613 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/2.728, allocations: 23.83 kB / 1.613 GB, free: 239.3 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.0001809/2.728, allocations: 145.1 kB / 1.613 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/2.729, allocations: 54.22 kB / 1.613 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/2.73, allocations: 0.5217 MB / 1.613 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/2.73, allocations: 3.859 kB / 1.613 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/2.73, allocations: 2.438 kB / 1.613 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009343/2.731, allocations: 0.6839 MB / 1.614 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/2.733, allocations: 1.126 MB / 1.615 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/2.733, allocations: 1.438 kB / 1.615 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/2.733, allocations: 80.3 kB / 1.615 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/2.733, allocations: 32.78 kB / 1.615 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/2.733, allocations: 12.08 kB / 1.615 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/2.733, allocations: 0.5857 MB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.733, allocations: 1.781 kB / 1.616 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/2.735, allocations: 0.8401 MB / 1.617 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/2.735, allocations: 180.7 kB / 1.617 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/2.735, allocations: 7.906 kB / 1.617 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/2.736, allocations: 73.09 kB / 1.617 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/2.736, allocations: 22.53 kB / 1.617 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/2.736, allocations: 17.28 kB / 1.617 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002792/2.736, allocations: 287.5 kB / 1.617 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.736, allocations: 0 / 1.617 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001286/2.737, allocations: 371.9 kB / 1.618 GB, free: 237.4 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.0007955/2.738, allocations: 428.5 kB / 1.618 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001282/2.74, allocations: 0.8101 MB / 1.619 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/2.74, allocations: 0 / 1.619 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/2.74, allocations: 267.7 kB / 1.619 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.741, allocations: 218.7 kB / 1.619 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/2.743, allocations: 0.7518 MB / 1.62 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/2.743, allocations: 0.8887 MB / 1.621 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006892/2.744, allocations: 156.4 kB / 1.621 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.805e-05/2.744, allocations: 41.27 kB / 1.621 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of SimCode: time 6.71e-07/2.744, allocations: 0 / 1.621 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.01908/2.763, allocations: 11.32 MB / 1.632 GB, free: 235.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)