Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 176.9 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 91.94 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.981e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3784, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.774, allocations: 410.9 MB / 1.614 GB, free: 4.082 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003959/1.775, allocations: 86.84 kB / 1.614 GB, free: 4.039 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.161/4.935, allocations: 0.6626 GB / 2.276 GB, free: 280 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/4.936, allocations: 0 / 2.276 GB, free: 280 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002281/4.936, allocations: 37.83 kB / 2.276 GB, free: 280 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004673/4.94, allocations: 1.433 MB / 2.278 GB, free: 279.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/4.941, allocations: 8.719 kB / 2.278 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/4.942, allocations: 207.8 kB / 2.278 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05283/4.995, allocations: 23.35 MB / 2.301 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/4.995, allocations: 98.88 kB / 2.301 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/4.996, allocations: 53.12 kB / 2.301 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/4.997, allocations: 438.9 kB / 2.301 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/4.999, allocations: 0.8168 MB / 2.302 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/4.999, allocations: 4.031 kB / 2.302 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/4.999, allocations: 7.406 kB / 2.302 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/4.999, allocations: 28.22 kB / 2.302 GB, free: 277.9 MB / 1.151 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.005762/5.005, allocations: 4.158 MB / 2.306 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/5.006, allocations: 259.6 kB / 2.306 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/5.006, allocations: 133.8 kB / 2.307 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000812/5.007, allocations: 1.16 MB / 2.308 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/5.007, allocations: 33.16 kB / 2.308 GB, free: 273.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 3.927e-06/5.007, allocations: 0 / 2.308 GB, free: 273.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.001489/5.008, allocations: 456.5 kB / 2.308 GB, free: 273.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/5.008, allocations: 55.16 kB / 2.308 GB, free: 273.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/5.009, allocations: 0.6529 MB / 2.309 GB, free: 273.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/5.009, allocations: 29.45 kB / 2.309 GB, free: 273.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/5.01, allocations: 0.5857 MB / 2.309 GB, free: 273.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/5.01, allocations: 98.72 kB / 2.309 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/5.01, allocations: 0 / 2.309 GB, free: 273.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001095/5.01, allocations: 329.1 kB / 2.31 GB, free: 273 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/5.01, allocations: 109.4 kB / 2.31 GB, free: 273 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/5.011, allocations: 305.9 kB / 2.31 GB, free: 272.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/5.011, allocations: 184.9 kB / 2.31 GB, free: 272.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/5.011, allocations: 3.953 kB / 2.31 GB, free: 272.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001277/5.012, allocations: 0.5657 MB / 2.311 GB, free: 272.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/5.012, allocations: 7.75 kB / 2.311 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/5.012, allocations: 3.875 kB / 2.311 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/5.013, allocations: 126.7 kB / 2.311 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/5.013, allocations: 128.7 kB / 2.311 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/5.015, allocations: 1.707 MB / 2.313 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/5.015, allocations: 96.5 kB / 2.313 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/5.016, allocations: 31.48 kB / 2.313 GB, free: 271 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/5.016, allocations: 118.6 kB / 2.313 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/5.016, allocations: 100.4 kB / 2.313 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/5.017, allocations: 0.5668 MB / 2.314 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/5.017, allocations: 7.719 kB / 2.314 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/5.017, allocations: 0 / 2.314 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/5.017, allocations: 10.77 kB / 2.314 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/5.02, allocations: 1.346 MB / 2.315 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/5.02, allocations: 3.875 kB / 2.315 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/5.02, allocations: 80.19 kB / 2.315 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/5.02, allocations: 115.8 kB / 2.315 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/5.02, allocations: 11 kB / 2.315 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/5.021, allocations: 1.686 MB / 2.317 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/5.021, allocations: 7.094 kB / 2.317 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/5.023, allocations: 0.7233 MB / 2.318 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/5.023, allocations: 235.3 kB / 2.318 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/5.023, allocations: 7.047 kB / 2.318 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/5.024, allocations: 89.58 kB / 2.318 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/5.024, allocations: 25.23 kB / 2.318 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/5.024, allocations: 22.25 kB / 2.318 GB, free: 268.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000661/5.025, allocations: 0.4976 MB / 2.318 GB, free: 268.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.025, allocations: 0 / 2.318 GB, free: 268.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001549/5.026, allocations: 396.9 kB / 2.319 GB, free: 268.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001622/5.028, allocations: 0.6124 MB / 2.319 GB, free: 268 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009154/5.029, allocations: 370.7 kB / 2.32 GB, free: 268 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/5.029, allocations: 0 / 2.32 GB, free: 268 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/5.029, allocations: 209.7 kB / 2.32 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/5.031, allocations: 414.6 kB / 2.32 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/5.034, allocations: 1.231 MB / 2.322 GB, free: 267.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/5.035, allocations: 1.129 MB / 2.323 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008798/5.036, allocations: 155.1 kB / 2.323 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/5.036, allocations: 63.12 kB / 2.323 GB, free: 266.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.273e-06/5.036, allocations: 0 / 2.323 GB, free: 266.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03635/5.073, allocations: 17.12 MB / 2.34 GB, free: 266.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)