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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002127/0.002127, allocations: 197.8 kB / 16.14 MB, free: 6.672 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001944, allocations: 286.7 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 94.97 kB / 0.5945 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.157, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02525/0.1823, allocations: 26.13 MB / 0.7049 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.193, allocations: 7.19 MB / 0.712 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.1945, allocations: 31.81 kB / 0.712 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1956, allocations: 314.2 kB / 0.7123 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.1989, allocations: 1.033 MB / 0.7133 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.2015, allocations: 0.8593 MB / 0.7141 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.2049, allocations: 2.813 MB / 0.7169 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008259/0.2057, allocations: 0.527 MB / 0.7174 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2069, allocations: 0.6027 MB / 0.718 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007758/0.2076, allocations: 0.556 MB / 0.7185 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.006e-05/0.2077, allocations: 28 kB / 0.7186 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.2095, allocations: 0.7796 MB / 0.7193 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2097, allocations: 143.4 kB / 0.7195 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.2101, allocations: 354.1 kB / 0.7198 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.2118, allocations: 1.184 MB / 0.721 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2119, allocations: 0 / 0.721 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2119, allocations: 0 / 0.721 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.2119, allocations: 0 / 0.721 GB, free: 6.547 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.001931/0.2138, allocations: 1.056 MB / 0.722 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.2139, allocations: 8.031 kB / 0.722 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.2144, allocations: 91.98 kB / 0.7221 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.2158, allocations: 0.7256 MB / 0.7228 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.2159, allocations: 36.94 kB / 0.7228 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.2159, allocations: 51.98 kB / 0.7229 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008257/0.2168, allocations: 0.4962 MB / 0.7234 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2168, allocations: 0 / 0.7234 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.2169, allocations: 20 kB / 0.7234 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.2169, allocations: 16 kB / 0.7234 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.2175, allocations: 323.6 kB / 0.7237 GB, free: 3.617 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.00292/0.2204, allocations: 2.748 MB / 0.7264 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2207, allocations: 189.2 kB / 0.7266 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2209, allocations: 100.8 kB / 0.7267 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.2212, allocations: 344.4 kB / 0.727 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2213, allocations: 46.75 kB / 0.727 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.2213, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0005856/0.2219, allocations: 301.4 kB / 0.7273 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2219, allocations: 55.41 kB / 0.7274 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2225, allocations: 0.5107 MB / 0.7279 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2225, allocations: 33.69 kB / 0.7279 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.2227, allocations: 351.5 kB / 0.7282 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.2228, allocations: 82.84 kB / 0.7283 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.223, allocations: 77.61 kB / 0.7284 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2231, allocations: 362.8 kB / 0.7287 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2233, allocations: 88.81 kB / 0.7288 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.2235, allocations: 238.5 kB / 0.7291 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.224, allocations: 341.4 kB / 0.7294 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.224, allocations: 4 kB / 0.7294 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006404/0.2246, allocations: 389 kB / 0.7298 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2246, allocations: 4 kB / 0.7298 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2247, allocations: 4 kB / 0.7298 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.2247, allocations: 8 kB / 0.7298 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.225, allocations: 79.84 kB / 0.7298 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.225, allocations: 8 kB / 0.7299 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.2254, allocations: 63.59 kB / 0.7299 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.2255, allocations: 16 kB / 0.7299 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003286/0.2258, allocations: 252 kB / 0.7302 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002421/0.2261, allocations: 234.6 kB / 0.7304 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003827/0.2265, allocations: 332.9 kB / 0.7307 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2265, allocations: 4 kB / 0.7307 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005385/0.227, allocations: 385.3 kB / 0.7311 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.227, allocations: 8.562 kB / 0.7311 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2271, allocations: 8 kB / 0.7311 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.2271, allocations: 4 kB / 0.7311 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2273, allocations: 75.91 kB / 0.7312 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.2273, allocations: 19.86 kB / 0.7312 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2277, allocations: 47.75 kB / 0.7312 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2277, allocations: 20 kB / 0.7313 GB, free: 11.23 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.0001527/0.2279, allocations: 203.9 kB / 0.7315 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.228, allocations: 55.25 kB / 0.7315 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.2285, allocations: 296.2 kB / 0.7318 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.2285, allocations: 7.938 kB / 0.7318 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2285, allocations: 0 / 0.7318 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003493/0.2289, allocations: 381.4 kB / 0.7322 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2304, allocations: 1.053 MB / 0.7332 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2304, allocations: 4 kB / 0.7332 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2306, allocations: 55.91 kB / 0.7332 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2306, allocations: 4 kB / 0.7332 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2307, allocations: 8 kB / 0.7333 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2307, allocations: 4 kB / 0.7333 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2307, allocations: 3.938 kB / 0.7333 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.2313, allocations: 0.5125 MB / 0.7338 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2316, allocations: 172.3 kB / 0.7339 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.2317, allocations: 8 kB / 0.7339 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.232, allocations: 35.84 kB / 0.734 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2321, allocations: 31.91 kB / 0.734 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.2321, allocations: 8 kB / 0.734 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004715/0.2326, allocations: 407.1 kB / 0.7344 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2326, allocations: 0 / 0.7344 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001018/0.2336, allocations: 339.3 kB / 0.7347 GB, free: 7.453 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.000643/0.2343, allocations: 307.8 kB / 0.735 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000648/0.2349, allocations: 400.8 kB / 0.7354 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.235, allocations: 8.25 kB / 0.7354 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2351, allocations: 103.8 kB / 0.7355 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.2369, allocations: 379.1 kB / 0.7359 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2389, allocations: 1.313 MB / 0.7371 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2393, allocations: 0.8944 MB / 0.738 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006096/0.2399, allocations: 163.9 kB / 0.7382 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.24, allocations: 55.42 kB / 0.7382 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.2401, allocations: 0 / 0.7382 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of Templates: time 0.02107/0.2611, allocations: 12.27 MB / 0.7502 GB, free: 7.719 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)