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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001431/0.001431, allocations: 197.8 kB / 16.14 MB, free: 6.715 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002562, allocations: 283 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 97.91 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1774, allocations: 89.16 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03054/0.208, allocations: 26.13 MB / 0.7183 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2196, allocations: 7.183 MB / 0.7253 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2211, allocations: 35.75 kB / 0.7254 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.2224, allocations: 310.2 kB / 0.7257 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.2258, allocations: 1.034 MB / 0.7267 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.2284, allocations: 0.8633 MB / 0.7275 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.2325, allocations: 2.803 MB / 0.7302 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.2335, allocations: 0.5388 MB / 0.7308 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.2348, allocations: 0.5988 MB / 0.7314 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.2356, allocations: 0.5638 MB / 0.7319 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2357, allocations: 28 kB / 0.7319 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.2377, allocations: 0.7835 MB / 0.7327 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.2379, allocations: 147.4 kB / 0.7328 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.2384, allocations: 350.2 kB / 0.7332 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.24, allocations: 1.184 MB / 0.7343 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.24, allocations: 0 / 0.7343 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.24, allocations: 0 / 0.7343 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.24, allocations: 0 / 0.7343 GB, free: 10.17 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.001622/0.2417, allocations: 1.055 MB / 0.7354 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2417, allocations: 11.97 kB / 0.7354 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.242, allocations: 91.98 kB / 0.7355 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.2432, allocations: 0.7255 MB / 0.7362 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.2433, allocations: 40.94 kB / 0.7362 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.2433, allocations: 48 kB / 0.7362 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.2443, allocations: 0.5 MB / 0.7367 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.2443, allocations: 4 kB / 0.7367 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.2444, allocations: 19.94 kB / 0.7368 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.2444, allocations: 16 kB / 0.7368 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.245, allocations: 323.6 kB / 0.7371 GB, free: 7.219 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.003314/0.2483, allocations: 2.736 MB / 0.7398 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.2487, allocations: 197.6 kB / 0.7399 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.2489, allocations: 104.8 kB / 0.74 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000381/0.2493, allocations: 344.4 kB / 0.7404 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2493, allocations: 38.88 kB / 0.7404 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.2493, allocations: 0 / 0.7404 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0005997/0.2499, allocations: 300.5 kB / 0.7407 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.25, allocations: 55.41 kB / 0.7407 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.2506, allocations: 0.5146 MB / 0.7413 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2507, allocations: 37.7 kB / 0.7413 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.251, allocations: 347.4 kB / 0.7416 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.2511, allocations: 86.83 kB / 0.7417 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2512, allocations: 77.52 kB / 0.7418 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2514, allocations: 362.8 kB / 0.7421 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2516, allocations: 92.8 kB / 0.7422 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.2519, allocations: 230 kB / 0.7424 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.2523, allocations: 341.9 kB / 0.7428 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2524, allocations: 4 kB / 0.7428 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006361/0.253, allocations: 392.1 kB / 0.7431 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.253, allocations: 5.406 kB / 0.7431 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.253, allocations: 4 kB / 0.7431 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2531, allocations: 8 kB / 0.7431 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2533, allocations: 75.91 kB / 0.7432 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.2534, allocations: 11.94 kB / 0.7432 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.2538, allocations: 55.81 kB / 0.7433 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.2538, allocations: 24 kB / 0.7433 GB, free: 336 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003381/0.2542, allocations: 252 kB / 0.7435 GB, free: 80 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003015/0.2545, allocations: 242.6 kB / 0.7438 GB, free: 15.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.2549, allocations: 335.7 kB / 0.7441 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.255, allocations: 3.938 kB / 0.7441 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006038/0.2556, allocations: 385 kB / 0.7445 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2556, allocations: 12 kB / 0.7445 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.2556, allocations: 4 kB / 0.7445 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.2556, allocations: 7.938 kB / 0.7445 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2559, allocations: 79.84 kB / 0.7446 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2559, allocations: 11.94 kB / 0.7446 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2562, allocations: 51.66 kB / 0.7446 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2563, allocations: 20 kB / 0.7447 GB, free: 14.82 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.0001585/0.2564, allocations: 204.1 kB / 0.7448 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2566, allocations: 55.34 kB / 0.7449 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.2571, allocations: 274.5 kB / 0.7452 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2571, allocations: 11.92 kB / 0.7452 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2571, allocations: 4 kB / 0.7452 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004186/0.2575, allocations: 379.9 kB / 0.7455 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.2591, allocations: 1.049 MB / 0.7466 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.2591, allocations: 4 kB / 0.7466 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.2594, allocations: 51.92 kB / 0.7466 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.2594, allocations: 7.984 kB / 0.7466 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2594, allocations: 4 kB / 0.7466 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2594, allocations: 7.938 kB / 0.7466 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2594, allocations: 0 / 0.7466 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.2602, allocations: 0.5201 MB / 0.7471 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.2604, allocations: 172.3 kB / 0.7473 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.2605, allocations: 8 kB / 0.7473 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2608, allocations: 31.91 kB / 0.7473 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2609, allocations: 27.98 kB / 0.7474 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.2609, allocations: 11.98 kB / 0.7474 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004867/0.2614, allocations: 407.1 kB / 0.7478 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2614, allocations: 0 / 0.7478 GB, free: 11.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001047/0.2625, allocations: 339.3 kB / 0.7481 GB, free: 11.07 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.0007227/0.2632, allocations: 311.1 kB / 0.7484 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006868/0.2639, allocations: 404.7 kB / 0.7488 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.2639, allocations: 4 kB / 0.7488 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.2641, allocations: 105.6 kB / 0.7489 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.2659, allocations: 372 kB / 0.7492 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.2679, allocations: 1.301 MB / 0.7505 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.2686, allocations: 0.8944 MB / 0.7514 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005643/0.2691, allocations: 169 kB / 0.7515 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2693, allocations: 55.42 kB / 0.7516 GB, free: 7.41 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.2693, allocations: 3.938 kB / 0.7516 GB, free: 7.406 MB / 0.545 GB Notification: Performance of Templates: time 0.3111/0.5804, allocations: 12.26 MB / 0.7636 GB, free: 65.23 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)