Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007504/0.007504, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 275.1 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003995, allocations: 13.56 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.03923/0.1919, allocations: 39.8 MB / 0.724 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007262/0.1992, allocations: 4.086 MB / 0.728 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2003, allocations: 35.75 kB / 0.728 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009664/0.2013, allocations: 294.3 kB / 0.7283 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.2069, allocations: 2.28 MB / 0.7305 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.209, allocations: 0.8368 MB / 0.7313 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.2124, allocations: 2.898 MB / 0.7342 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.2132, allocations: 0.5217 MB / 0.7347 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.2166, allocations: 2.442 MB / 0.7371 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.2173, allocations: 0.5443 MB / 0.7376 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.2174, allocations: 20 kB / 0.7376 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.2224, allocations: 3.364 MB / 0.7409 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2226, allocations: 139.4 kB / 0.741 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.223, allocations: 371.8 kB / 0.7414 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.2256, allocations: 1.792 MB / 0.7431 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2256, allocations: 7.875 kB / 0.7431 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2256, allocations: 0 / 0.7431 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2256, allocations: 0 / 0.7431 GB, free: 3.484 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001438/0.2271, allocations: 1.04 MB / 0.7442 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2271, allocations: 12.02 kB / 0.7442 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2282, allocations: 151.9 kB / 0.7443 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.2295, allocations: 0.7952 MB / 0.7451 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2295, allocations: 32.94 kB / 0.7451 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.2296, allocations: 48 kB / 0.7452 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.2304, allocations: 0.5274 MB / 0.7457 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2304, allocations: 0 / 0.7457 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.2305, allocations: 20 kB / 0.7457 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2305, allocations: 12 kB / 0.7457 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.231, allocations: 339.7 kB / 0.746 GB, free: 412 kB / 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.002439/0.2335, allocations: 2.447 MB / 0.7484 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.2339, allocations: 275.1 kB / 0.7487 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.2341, allocations: 128.8 kB / 0.7488 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008586/0.235, allocations: 1.382 MB / 0.7502 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.235, allocations: 34.56 kB / 0.7502 GB, free: 11.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.235, allocations: 0 / 0.7502 GB, free: 11.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.004035/0.239, allocations: 1.79 MB / 0.7519 GB, free: 9.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2391, allocations: 59.41 kB / 0.752 GB, free: 9.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.2396, allocations: 0.4951 MB / 0.7525 GB, free: 9.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.2397, allocations: 29.7 kB / 0.7525 GB, free: 9.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.2399, allocations: 332.4 kB / 0.7528 GB, free: 8.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2401, allocations: 149.8 kB / 0.753 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.2401, allocations: 41.69 kB / 0.753 GB, free: 8.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2403, allocations: 366.8 kB / 0.7534 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2405, allocations: 153 kB / 0.7535 GB, free: 8.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.2408, allocations: 262.7 kB / 0.7538 GB, free: 7.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.2414, allocations: 444.8 kB / 0.7542 GB, free: 7.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2414, allocations: 0 / 0.7542 GB, free: 7.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009581/0.2424, allocations: 0.6107 MB / 0.7548 GB, free: 6.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/0.2425, allocations: 175.6 kB / 0.7549 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2425, allocations: 4 kB / 0.755 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.2432, allocations: 201.4 kB / 0.7551 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2435, allocations: 71.84 kB / 0.7552 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2445, allocations: 1.339 MB / 0.7565 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.245, allocations: 43.75 kB / 0.7566 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.245, allocations: 24.06 kB / 0.7566 GB, free: 4.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.485e-06/0.245, allocations: 9.719 kB / 0.7566 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008355/0.2459, allocations: 0.5202 MB / 0.7571 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2459, allocations: 4 kB / 0.7571 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.2466, allocations: 198 kB / 0.7573 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.2468, allocations: 71.84 kB / 0.7574 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009612/0.2478, allocations: 1.347 MB / 0.7587 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2481, allocations: 35.86 kB / 0.7587 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2482, allocations: 24 kB / 0.7587 GB, free: 2.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.2485, allocations: 291.8 kB / 0.759 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2486, allocations: 63.19 kB / 0.7591 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.2498, allocations: 0.6363 MB / 0.7597 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2499, allocations: 4 kB / 0.7597 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2499, allocations: 7.875 kB / 0.7597 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008706/0.2507, allocations: 0.651 MB / 0.7603 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.2529, allocations: 1.458 MB / 0.7618 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2529, allocations: 0 / 0.7618 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.2531, allocations: 47.91 kB / 0.7618 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009405/0.254, allocations: 213.6 kB / 0.762 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.2541, allocations: 12 kB / 0.762 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009491/0.255, allocations: 1.331 MB / 0.7633 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.255, allocations: 4.031 kB / 0.7633 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2563, allocations: 0.8847 MB / 0.7642 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2566, allocations: 196.2 kB / 0.7644 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.2566, allocations: 12 kB / 0.7644 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.257, allocations: 23.97 kB / 0.7644 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.2571, allocations: 31.97 kB / 0.7644 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.2571, allocations: 23.98 kB / 0.7645 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003734/0.2575, allocations: 350.8 kB / 0.7648 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2575, allocations: 0 / 0.7648 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001252/0.2588, allocations: 463.8 kB / 0.7652 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008768/0.2597, allocations: 452.1 kB / 0.7657 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.2609, allocations: 0.6793 MB / 0.7663 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2609, allocations: 0 / 0.7663 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.2614, allocations: 236.5 kB / 0.7666 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.2631, allocations: 326.2 kB / 0.7669 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.265, allocations: 1.514 MB / 0.7684 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.2654, allocations: 0.9184 MB / 0.7693 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005932/0.266, allocations: 205 kB / 0.7695 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2662, allocations: 63.41 kB / 0.7695 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2662, allocations: 0 / 0.7695 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.3071/0.5732, allocations: 16.27 MB / 0.7854 GB, free: 91.87 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)