Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.747/1.747, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 184.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 103.7 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 13.66 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.654/0.6545, allocations: 120.3 MB / 1.026 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.8/5.455, allocations: 1.924 GB / 2.95 GB, free: 258.4 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/5.455, allocations: 92.52 kB / 2.95 GB, free: 258.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.9/10.35, allocations: 1.352 GB / 4.302 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.046e-06/10.35, allocations: 0 / 4.302 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002599/10.36, allocations: 55.98 kB / 4.302 GB, free: 2.734 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00805/10.36, allocations: 2.452 MB / 4.305 GB, free: 224 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/10.36, allocations: 16.03 kB / 4.305 GB, free: 208 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/10.37, allocations: 0.4979 MB / 4.305 GB, free: 15.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/10.37, allocations: 1.473 MB / 4.307 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/10.37, allocations: 179 kB / 4.307 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/10.37, allocations: 152.3 kB / 4.307 GB, free: 13.84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005221/10.38, allocations: 1.711 MB / 4.309 GB, free: 12.05 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/10.38, allocations: 8 kB / 4.309 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/10.38, allocations: 60 kB / 4.309 GB, free: 11.98 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/10.38, allocations: 54.69 kB / 4.309 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/10.38, allocations: 1.338 MB / 4.31 GB, free: 10.59 MB / 1.01 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.01329/10.4, allocations: 8.234 MB / 4.318 GB, free: 1.637 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/10.4, allocations: 0.8938 MB / 4.319 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009308/10.4, allocations: 0.5263 MB / 4.32 GB, free: 204 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/10.4, allocations: 320.5 kB / 4.32 GB, free: 15.83 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/10.4, allocations: 47.5 kB / 4.32 GB, free: 15.77 MB / 1.026 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/10.4, allocations: 0 / 4.32 GB, free: 15.77 MB / 1.026 GB Notification: Performance of matching and sorting (n=102): time 0.008585/10.41, allocations: 3.136 MB / 4.323 GB, free: 12.59 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/10.41, allocations: 60.41 kB / 4.323 GB, free: 12.52 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/10.41, allocations: 1.242 MB / 4.324 GB, free: 11.27 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/10.41, allocations: 49.7 kB / 4.324 GB, free: 11.21 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/10.41, allocations: 0.8093 MB / 4.325 GB, free: 10.4 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/10.41, allocations: 370.6 kB / 4.325 GB, free: 10.03 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/10.41, allocations: 24 kB / 4.325 GB, free: 10.01 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001913/10.41, allocations: 349.9 kB / 4.326 GB, free: 9.66 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009235/10.41, allocations: 430.4 kB / 4.326 GB, free: 9.238 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/10.41, allocations: 0.8408 MB / 4.327 GB, free: 8.223 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/10.42, allocations: 1.244 MB / 4.328 GB, free: 6.855 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/10.42, allocations: 4 kB / 4.328 GB, free: 6.852 MB / 1.026 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003114/10.42, allocations: 1.389 MB / 4.33 GB, free: 5.449 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004038/10.42, allocations: 366.2 kB / 4.33 GB, free: 4.969 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/10.42, allocations: 8 kB / 4.33 GB, free: 4.961 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-05/10.42, allocations: 16 kB / 4.33 GB, free: 4.945 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/10.42, allocations: 283.5 kB / 4.33 GB, free: 4.668 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.092e-05/10.42, allocations: 27.92 kB / 4.33 GB, free: 4.641 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/10.42, allocations: 171.6 kB / 4.33 GB, free: 4.473 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/10.42, allocations: 59.92 kB / 4.331 GB, free: 4.414 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/10.42, allocations: 5.719 kB / 4.331 GB, free: 4.41 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002321/10.43, allocations: 1.214 MB / 4.332 GB, free: 3.191 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/10.43, allocations: 12.94 kB / 4.332 GB, free: 3.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/10.43, allocations: 16 kB / 4.332 GB, free: 3.164 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/10.43, allocations: 287.5 kB / 4.332 GB, free: 2.883 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/10.43, allocations: 19.94 kB / 4.332 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/10.43, allocations: 175.5 kB / 4.332 GB, free: 2.691 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/10.43, allocations: 51.98 kB / 4.332 GB, free: 2.641 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00117/10.43, allocations: 0.5044 MB / 4.333 GB, free: 2.125 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/10.43, allocations: 173.9 kB / 4.333 GB, free: 1.953 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/10.43, allocations: 1.162 MB / 4.334 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/10.43, allocations: 8 kB / 4.334 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/10.43, allocations: 0 / 4.334 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7185/11.15, allocations: 1.079 MB / 4.335 GB, free: 138.9 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/11.16, allocations: 2.77 MB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/11.16, allocations: 3.75 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/11.16, allocations: 253.4 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/11.16, allocations: 6.672 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/11.16, allocations: 30.3 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/11.16, allocations: 6.547 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/11.16, allocations: 6.797 kB / 4.338 GB, free: 138.6 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/11.16, allocations: 1.814 MB / 4.34 GB, free: 138.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/11.17, allocations: 336.4 kB / 4.34 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/11.17, allocations: 25.12 kB / 4.34 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/11.17, allocations: 153.1 kB / 4.34 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/11.17, allocations: 72.31 kB / 4.34 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/11.17, allocations: 37.48 kB / 4.34 GB, free: 138.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001592/11.17, allocations: 0.8252 MB / 4.341 GB, free: 138.1 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.51e-07/11.17, allocations: 0 / 4.341 GB, free: 138.1 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003846/11.17, allocations: 1.075 MB / 4.342 GB, free: 138.1 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004828/11.18, allocations: 3.026 MB / 4.345 GB, free: 136.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003368/11.18, allocations: 1.726 MB / 4.347 GB, free: 136.9 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/11.18, allocations: 0 / 4.347 GB, free: 136.9 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/11.18, allocations: 0.5201 MB / 4.347 GB, free: 136.9 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005229/11.19, allocations: 0.9557 MB / 4.348 GB, free: 136.9 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/11.19, allocations: 4.253 MB / 4.353 GB, free: 135.2 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/11.19, allocations: 1.437 MB / 4.354 GB, free: 134.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.002584/11.2, allocations: 0.5568 MB / 4.355 GB, free: 134.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/11.2, allocations: 134 kB / 4.355 GB, free: 134.4 MB / 1.026 GB Notification: Performance of SimCode: time 7.61e-07/11.2, allocations: 0 / 4.355 GB, free: 134.4 MB / 1.026 GB Notification: Performance of Templates: time 0.09651/11.29, allocations: 62.58 MB / 4.416 GB, free: 133.1 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)