Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 194.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 282.3 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 178.6 MB / 0.5069 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003017/0.003017, allocations: 106.2 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1974, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03019/0.2276, allocations: 26.07 MB / 0.7184 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2394, allocations: 7.09 MB / 0.7254 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2409, allocations: 35.75 kB / 0.7254 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.2426, allocations: 330.2 kB / 0.7257 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.2463, allocations: 1.038 MB / 0.7267 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.2495, allocations: 0.8709 MB / 0.7276 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.2531, allocations: 2.112 MB / 0.7296 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2541, allocations: 0.6179 MB / 0.7302 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.2563, allocations: 0.7257 MB / 0.731 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.2572, allocations: 0.5678 MB / 0.7315 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.2573, allocations: 56 kB / 0.7316 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.259, allocations: 0.8031 MB / 0.7323 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.2592, allocations: 175.4 kB / 0.7325 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.2597, allocations: 386.1 kB / 0.7329 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.2617, allocations: 1.2 MB / 0.7341 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2617, allocations: 4 kB / 0.7341 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2617, allocations: 0 / 0.7341 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.2617, allocations: 0 / 0.7341 GB, free: 10.5 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001674/0.2634, allocations: 1.059 MB / 0.7351 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2635, allocations: 8.031 kB / 0.7351 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.2638, allocations: 88 kB / 0.7352 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.265, allocations: 0.7217 MB / 0.7359 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2651, allocations: 36.94 kB / 0.7359 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.2652, allocations: 48 kB / 0.736 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.266, allocations: 0.504 MB / 0.7365 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2661, allocations: 0 / 0.7365 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2661, allocations: 16 kB / 0.7365 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.2661, allocations: 12 kB / 0.7365 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.2667, allocations: 327.7 kB / 0.7368 GB, free: 7.566 MB / 0.5294 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.003017/0.2697, allocations: 2.752 MB / 0.7395 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2701, allocations: 191.4 kB / 0.7397 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2702, allocations: 96.81 kB / 0.7398 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.2706, allocations: 340.4 kB / 0.7401 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.2707, allocations: 54.75 kB / 0.7401 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.2707, allocations: 0 / 0.7401 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0006078/0.2713, allocations: 304.1 kB / 0.7404 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.2714, allocations: 51.41 kB / 0.7405 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.272, allocations: 0.5185 MB / 0.741 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2721, allocations: 29.7 kB / 0.741 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.2723, allocations: 343.4 kB / 0.7413 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2725, allocations: 86.91 kB / 0.7414 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2726, allocations: 81.5 kB / 0.7415 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.2728, allocations: 362.8 kB / 0.7418 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.273, allocations: 92.81 kB / 0.7419 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.2733, allocations: 233.9 kB / 0.7422 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.2738, allocations: 333.9 kB / 0.7425 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2738, allocations: 0 / 0.7425 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006471/0.2745, allocations: 387.9 kB / 0.7428 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2745, allocations: 11.94 kB / 0.7429 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2745, allocations: 4.562 kB / 0.7429 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2745, allocations: 8 kB / 0.7429 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2748, allocations: 79.91 kB / 0.7429 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.2748, allocations: 11.92 kB / 0.743 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.2753, allocations: 55.58 kB / 0.743 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.2753, allocations: 23.98 kB / 0.743 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003306/0.2756, allocations: 248 kB / 0.7433 GB, free: 424 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002739/0.2759, allocations: 234.6 kB / 0.7435 GB, free: 124 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004473/0.2764, allocations: 339 kB / 0.7438 GB, free: 15.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.2764, allocations: 0 / 0.7438 GB, free: 15.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005864/0.277, allocations: 388.4 kB / 0.7442 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.277, allocations: 7.938 kB / 0.7442 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.277, allocations: 4 kB / 0.7442 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.277, allocations: 8 kB / 0.7442 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.2773, allocations: 76.47 kB / 0.7443 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.2773, allocations: 19.86 kB / 0.7443 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2777, allocations: 51.67 kB / 0.7443 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.2777, allocations: 12 kB / 0.7444 GB, free: 15.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001725/0.2779, allocations: 204.2 kB / 0.7446 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.278, allocations: 59.34 kB / 0.7446 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.2785, allocations: 284.1 kB / 0.7449 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2785, allocations: 11.88 kB / 0.7449 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2786, allocations: 0 / 0.7449 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004537/0.279, allocations: 377.5 kB / 0.7453 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.2806, allocations: 1.051 MB / 0.7463 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2806, allocations: 0 / 0.7463 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2808, allocations: 55.91 kB / 0.7463 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2809, allocations: 8.281 kB / 0.7463 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2809, allocations: 16 kB / 0.7464 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2809, allocations: 0 / 0.7464 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.2809, allocations: 7.938 kB / 0.7464 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.2816, allocations: 0.5176 MB / 0.7469 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.2818, allocations: 176.3 kB / 0.747 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.2819, allocations: 8 kB / 0.747 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.2823, allocations: 31.98 kB / 0.7471 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2824, allocations: 23.91 kB / 0.7471 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2824, allocations: 15.98 kB / 0.7471 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005898/0.283, allocations: 399.1 kB / 0.7475 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.283, allocations: 0 / 0.7475 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001175/0.2842, allocations: 355.3 kB / 0.7478 GB, free: 11.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007645/0.2849, allocations: 294.3 kB / 0.7481 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.2857, allocations: 419.5 kB / 0.7485 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2857, allocations: 2 kB / 0.7485 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2859, allocations: 111.7 kB / 0.7486 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.2876, allocations: 380.8 kB / 0.749 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2897, allocations: 1.299 MB / 0.7503 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.2904, allocations: 0.8941 MB / 0.7511 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005832/0.291, allocations: 163.8 kB / 0.7513 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2911, allocations: 55.42 kB / 0.7513 GB, free: 7.734 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2911, allocations: 0 / 0.7513 GB, free: 7.734 MB / 0.545 GB Notification: Performance of Templates: time 0.3043/0.5954, allocations: 12.57 MB / 0.7636 GB, free: 64.96 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)