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.00108/0.00108, 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.00138/0.00138, allocations: 194.7 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 283.1 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9998/0.9998, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 100 kB / 0.5947 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1808, allocations: 86.97 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02554/0.2064, allocations: 26.07 MB / 0.7051 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009521/0.2159, allocations: 7.098 MB / 0.712 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.2169, allocations: 35.75 kB / 0.712 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009604/0.2179, allocations: 322.2 kB / 0.7124 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.2204, allocations: 1.038 MB / 0.7134 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.2227, allocations: 0.8785 MB / 0.7142 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.2251, allocations: 2.101 MB / 0.7163 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008569/0.226, allocations: 0.6137 MB / 0.7169 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.2278, allocations: 0.7377 MB / 0.7176 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.2284, allocations: 0.56 MB / 0.7181 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.2285, allocations: 52 kB / 0.7182 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2299, allocations: 0.8148 MB / 0.719 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.2301, allocations: 167.4 kB / 0.7191 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.2305, allocations: 382.2 kB / 0.7195 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.2319, allocations: 1.211 MB / 0.7207 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.232, allocations: 0 / 0.7207 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.232, allocations: 0 / 0.7207 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.232, allocations: 8 kB / 0.7207 GB, free: 6.883 MB / 0.5137 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.001419/0.2334, allocations: 1.055 MB / 0.7217 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2335, allocations: 8.031 kB / 0.7217 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.2338, allocations: 84 kB / 0.7218 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2349, allocations: 0.7295 MB / 0.7225 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.2349, allocations: 44.92 kB / 0.7226 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.235, allocations: 44 kB / 0.7226 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.2357, allocations: 0.5039 MB / 0.7231 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2358, allocations: 0 / 0.7231 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.2358, allocations: 20 kB / 0.7231 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2359, allocations: 12 kB / 0.7231 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.2364, allocations: 323.7 kB / 0.7234 GB, free: 3.949 MB / 0.5137 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.002663/0.239, allocations: 2.74 MB / 0.7261 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2394, allocations: 190.5 kB / 0.7263 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2395, allocations: 104.8 kB / 0.7264 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.2398, allocations: 340.4 kB / 0.7267 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2399, allocations: 38.88 kB / 0.7268 GB, free: 212 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.2399, allocations: 0 / 0.7268 GB, free: 212 kB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0005376/0.2404, allocations: 312 kB / 0.7271 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2404, allocations: 51.41 kB / 0.7271 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.241, allocations: 0.5224 MB / 0.7276 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.241, allocations: 29.7 kB / 0.7277 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.2412, allocations: 343.5 kB / 0.728 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.2413, allocations: 82.84 kB / 0.7281 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2414, allocations: 77.59 kB / 0.7281 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2416, allocations: 362.8 kB / 0.7285 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2417, allocations: 92.81 kB / 0.7286 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.242, allocations: 233.9 kB / 0.7288 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.2424, allocations: 345.4 kB / 0.7291 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2424, allocations: 0 / 0.7291 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005366/0.2429, allocations: 388.7 kB / 0.7295 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2429, allocations: 8 kB / 0.7295 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.243, allocations: 4 kB / 0.7295 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.243, allocations: 12.03 kB / 0.7295 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2432, allocations: 79.84 kB / 0.7296 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2432, allocations: 7.984 kB / 0.7296 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.2436, allocations: 59.92 kB / 0.7297 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.2437, allocations: 27.92 kB / 0.7297 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002787/0.244, allocations: 248 kB / 0.7299 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002201/0.2442, allocations: 234.6 kB / 0.7301 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00037/0.2446, allocations: 335.5 kB / 0.7305 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.2446, allocations: 0 / 0.7305 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005223/0.2451, allocations: 392.9 kB / 0.7308 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.2451, allocations: 4 kB / 0.7308 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2451, allocations: 4 kB / 0.7308 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2451, allocations: 8 kB / 0.7309 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2454, allocations: 75.91 kB / 0.7309 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2454, allocations: 19.86 kB / 0.7309 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.2457, allocations: 43.83 kB / 0.731 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2458, allocations: 16 kB / 0.731 GB, free: 11.56 MB / 0.5294 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.0001375/0.2459, allocations: 200.8 kB / 0.7312 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.246, allocations: 59.25 kB / 0.7312 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.2465, allocations: 288 kB / 0.7315 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2465, allocations: 11.94 kB / 0.7315 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2466, allocations: 0 / 0.7315 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003422/0.2469, allocations: 379 kB / 0.7319 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2483, allocations: 1.057 MB / 0.7329 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2483, allocations: 0 / 0.7329 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2485, allocations: 51.91 kB / 0.733 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2485, allocations: 4 kB / 0.733 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2485, allocations: 12 kB / 0.733 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2485, allocations: 0 / 0.733 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2485, allocations: 4 kB / 0.733 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.2491, allocations: 0.5224 MB / 0.7335 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.2493, allocations: 168.2 kB / 0.7337 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.2494, allocations: 11.98 kB / 0.7337 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.2498, allocations: 27.92 kB / 0.7337 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.2498, allocations: 27.91 kB / 0.7337 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.2499, allocations: 19.98 kB / 0.7337 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004358/0.2503, allocations: 395.1 kB / 0.7341 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2503, allocations: 0 / 0.7341 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009006/0.2512, allocations: 351.3 kB / 0.7345 GB, free: 7.781 MB / 0.5294 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.0005504/0.2518, allocations: 304.5 kB / 0.7348 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006011/0.2524, allocations: 421.4 kB / 0.7352 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2524, allocations: 0 / 0.7352 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2526, allocations: 105.9 kB / 0.7353 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.2541, allocations: 379.5 kB / 0.7356 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.2558, allocations: 1.319 MB / 0.7369 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.2563, allocations: 0.8941 MB / 0.7378 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005708/0.2569, allocations: 161.1 kB / 0.7379 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.257, allocations: 55.42 kB / 0.738 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of SimCode: time 1.844e-06/0.257, allocations: 0 / 0.738 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of Templates: time 0.02018/0.2772, allocations: 12.58 MB / 0.7503 GB, free: 7.75 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)