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 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.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 10.0.0-master/package.mo): time 2.362/2.362, allocations: 391.2 MB / 407 MB, free: 10.91 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.001257/0.001256, allocations: 200.5 kB / 499.1 MB, free: 4.699 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.505/1.505, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.0009914/0.0009913, allocations: 111.3 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001155, allocations: 53.45 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3033, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9451/1.248, allocations: 240.5 MB / 1.453 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03033/1.279, allocations: 16.1 MB / 1.469 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/1.283, allocations: 80.19 kB / 1.469 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003901/1.287, allocations: 1.013 MB / 1.47 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/1.3, allocations: 3.601 MB / 1.473 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006647/1.306, allocations: 1.62 MB / 1.475 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01077/1.317, allocations: 7.45 MB / 1.482 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/1.321, allocations: 1.413 MB / 1.483 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008671/1.329, allocations: 2.363 MB / 1.486 GB, free: 1.098 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006209/1.336, allocations: 1.777 MB / 1.487 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/1.337, allocations: 100.6 kB / 1.488 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008761/1.346, allocations: 3.146 MB / 1.491 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/1.348, allocations: 0.7063 MB / 1.491 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003897/1.352, allocations: 1.073 MB / 1.492 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.362, allocations: 3.646 MB / 1.496 GB, free: 156 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.362, allocations: 0 / 1.496 GB, free: 156 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.934e-06/1.362, allocations: 0 / 1.496 GB, free: 156 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001621/1.363, allocations: 0 / 1.496 GB, free: 156 kB / 0.9167 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.008464/1.371, allocations: 2.493 MB / 1.498 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.371, allocations: 12.64 kB / 1.498 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/1.374, allocations: 0.5069 MB / 1.499 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/1.377, allocations: 1.273 MB / 1.5 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/1.377, allocations: 177.1 kB / 1.5 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/1.378, allocations: 158.8 kB / 1.5 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/1.381, allocations: 1.728 MB / 1.502 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/1.381, allocations: 13.59 kB / 1.502 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.381, allocations: 66.42 kB / 1.502 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-05/1.381, allocations: 64.12 kB / 1.502 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/1.384, allocations: 1.375 MB / 1.504 GB, free: 14.06 MB / 0.9323 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.01098/1.395, allocations: 8.192 MB / 1.512 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/1.397, allocations: 0.8993 MB / 1.513 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.398, allocations: 0.5358 MB / 1.513 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/1.399, allocations: 322 kB / 1.513 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.399, allocations: 44.5 kB / 1.513 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=96): time 3.817e-06/1.399, allocations: 0.5312 kB / 1.513 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of matching and sorting (n=102): time 0.007724/1.407, allocations: 3.12 MB / 1.516 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.407, allocations: 65.88 kB / 1.517 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/1.409, allocations: 1.263 MB / 1.518 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.409, allocations: 49.64 kB / 1.518 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/1.409, allocations: 0.8141 MB / 1.519 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/1.41, allocations: 365.1 kB / 1.519 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/1.41, allocations: 228.2 kB / 1.519 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.41, allocations: 350.8 kB / 1.519 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/1.411, allocations: 447.3 kB / 1.52 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.412, allocations: 0.8282 MB / 1.521 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/1.414, allocations: 1.255 MB / 1.522 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.414, allocations: 2.188 kB / 1.522 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003426/1.418, allocations: 1.412 MB / 1.523 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.418, allocations: 8.094 kB / 1.523 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.418, allocations: 8.656 kB / 1.523 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/1.418, allocations: 16.5 kB / 1.523 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.419, allocations: 274 kB / 1.524 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/1.419, allocations: 23.81 kB / 1.524 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/1.422, allocations: 175.6 kB / 1.524 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.422, allocations: 53.23 kB / 1.524 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001988/1.424, allocations: 0.7757 MB / 1.525 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001324/1.425, allocations: 0.8141 MB / 1.525 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002181/1.427, allocations: 1.238 MB / 1.527 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/1.427, allocations: 2.844 kB / 1.527 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00293/1.43, allocations: 1.392 MB / 1.528 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.43, allocations: 8.312 kB / 1.528 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.43, allocations: 11.16 kB / 1.528 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.43, allocations: 13.38 kB / 1.528 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.431, allocations: 277.5 kB / 1.528 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.431, allocations: 16.81 kB / 1.528 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/1.433, allocations: 179.1 kB / 1.528 GB, free: 2.871 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/1.434, allocations: 59.47 kB / 1.529 GB, free: 2.852 MB / 0.9323 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004476/1.434, allocations: 270.5 kB / 1.529 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/1.434, allocations: 162.4 kB / 1.529 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/1.437, allocations: 1.15 MB / 1.53 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.437, allocations: 14.75 kB / 1.53 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.437, allocations: 3.938 kB / 1.53 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/1.438, allocations: 1.078 MB / 1.531 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/1.444, allocations: 2.786 MB / 1.534 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.444, allocations: 2.719 kB / 1.534 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.446, allocations: 244.9 kB / 1.534 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.446, allocations: 5.594 kB / 1.534 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/1.446, allocations: 34.67 kB / 1.534 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.446, allocations: 8.812 kB / 1.534 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.446, allocations: 2.969 kB / 1.534 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/1.466, allocations: 9.343 MB / 1.543 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.467, allocations: 342.9 kB / 1.544 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/1.467, allocations: 23.98 kB / 1.544 GB, free: 8.633 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.469, allocations: 135.7 kB / 1.544 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.469, allocations: 67.25 kB / 1.544 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.469, allocations: 35.98 kB / 1.544 GB, free: 8.402 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00169/1.471, allocations: 0.8465 MB / 1.545 GB, free: 7.559 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/1.471, allocations: 0 / 1.545 GB, free: 7.559 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006649/1.478, allocations: 1.328 MB / 1.546 GB, free: 6.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008749/1.478, allocations: 288.6 kB / 1.546 GB, free: 5.969 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.482, allocations: 1.73 MB / 1.548 GB, free: 4.312 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.482, allocations: 0 / 1.548 GB, free: 4.312 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/1.483, allocations: 0.5207 MB / 1.548 GB, free: 3.816 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005387/1.488, allocations: 0.9614 MB / 1.549 GB, free: 2.863 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/1.497, allocations: 4.763 MB / 1.554 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/1.498, allocations: 1.473 MB / 1.555 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003008/1.501, allocations: 0.5836 MB / 1.556 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/1.502, allocations: 135.4 kB / 1.556 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/1.502, allocations: 0 / 1.556 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of Templates: time 0.06431/1.566, allocations: 33.92 MB / 1.589 GB, free: 10.39 MB / 0.9948 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)