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.0007502/0.0007504, allocations: 91.14 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.004809/0.004809, allocations: 171.4 kB / 16.26 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 274.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9687/0.9687, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 14.3 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02529/0.175, allocations: 25.45 MB / 0.71 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009982/0.185, allocations: 7.097 MB / 0.7169 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1862, allocations: 31.81 kB / 0.7169 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008964/0.1872, allocations: 318.2 kB / 0.7172 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1897, allocations: 1.033 MB / 0.7183 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.192, allocations: 0.8592 MB / 0.7191 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.1952, allocations: 2.809 MB / 0.7218 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.1959, allocations: 0.5137 MB / 0.7223 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.1968, allocations: 0.591 MB / 0.7229 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.1974, allocations: 0.5287 MB / 0.7234 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.1975, allocations: 20 kB / 0.7234 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.1989, allocations: 0.7796 MB / 0.7242 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1991, allocations: 131.4 kB / 0.7243 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.1994, allocations: 367.8 kB / 0.7247 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2007, allocations: 1.16 MB / 0.7258 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2007, allocations: 0 / 0.7258 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2007, allocations: 0 / 0.7258 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2007, allocations: 0 / 0.7258 GB, free: 5.277 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.001264/0.202, allocations: 0.9228 MB / 0.7267 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.202, allocations: 8.031 kB / 0.7267 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.2023, allocations: 84.09 kB / 0.7268 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2034, allocations: 0.7295 MB / 0.7275 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.2034, allocations: 36.94 kB / 0.7276 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.2035, allocations: 51.98 kB / 0.7276 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.2043, allocations: 0.5001 MB / 0.7281 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2043, allocations: 3.906 kB / 0.7281 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.2044, allocations: 20 kB / 0.7281 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.2044, allocations: 12 kB / 0.7281 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.2049, allocations: 319.7 kB / 0.7284 GB, free: 2.48 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.002807/0.2077, allocations: 2.748 MB / 0.7311 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.2081, allocations: 196.8 kB / 0.7313 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.2082, allocations: 97.56 kB / 0.7314 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.2085, allocations: 340.4 kB / 0.7317 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2086, allocations: 46.81 kB / 0.7318 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 3.126e-06/0.2086, allocations: 4 kB / 0.7318 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0005443/0.2091, allocations: 308.4 kB / 0.7321 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2092, allocations: 51.41 kB / 0.7321 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.2098, allocations: 0.5224 MB / 0.7326 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.2098, allocations: 29.7 kB / 0.7326 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.21, allocations: 351.4 kB / 0.733 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.2101, allocations: 78.84 kB / 0.7331 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.2102, allocations: 37.7 kB / 0.7331 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2103, allocations: 362.8 kB / 0.7334 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2105, allocations: 83.95 kB / 0.7335 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2107, allocations: 237.9 kB / 0.7337 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.2111, allocations: 345.4 kB / 0.7341 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2111, allocations: 0 / 0.7341 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005384/0.2117, allocations: 384.5 kB / 0.7344 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.2118, allocations: 217 kB / 0.7347 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2118, allocations: 4 kB / 0.7347 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2118, allocations: 8 kB / 0.7347 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.2121, allocations: 83.84 kB / 0.7347 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2121, allocations: 11.92 kB / 0.7348 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.2125, allocations: 47.67 kB / 0.7348 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.2126, allocations: 20 kB / 0.7348 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.2126, allocations: 8 kB / 0.7348 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004384/0.213, allocations: 307.9 kB / 0.7351 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.213, allocations: 4 kB / 0.7351 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2131, allocations: 12.03 kB / 0.7351 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2133, allocations: 71.91 kB / 0.7352 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2133, allocations: 11.94 kB / 0.7352 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.2136, allocations: 51.66 kB / 0.7353 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2137, allocations: 20 kB / 0.7353 GB, free: 10.89 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.0002472/0.2139, allocations: 281.6 kB / 0.7356 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.214, allocations: 55.28 kB / 0.7356 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.2145, allocations: 282.4 kB / 0.7359 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.2145, allocations: 4 kB / 0.7359 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2145, allocations: 0 / 0.7359 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003315/0.2148, allocations: 377.4 kB / 0.7362 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2162, allocations: 1.053 MB / 0.7373 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2162, allocations: 8.062 kB / 0.7373 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.2164, allocations: 59.84 kB / 0.7373 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2164, allocations: 7.938 kB / 0.7373 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2164, allocations: 11.94 kB / 0.7374 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2165, allocations: 4 kB / 0.7374 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2165, allocations: 3.938 kB / 0.7374 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.2171, allocations: 0.5198 MB / 0.7379 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2173, allocations: 176.4 kB / 0.738 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.2173, allocations: 19.98 kB / 0.7381 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.2177, allocations: 27.83 kB / 0.7381 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2178, allocations: 23.97 kB / 0.7381 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2178, allocations: 19.98 kB / 0.7381 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004227/0.2182, allocations: 399.1 kB / 0.7385 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2182, allocations: 0 / 0.7385 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009795/0.2192, allocations: 343.3 kB / 0.7388 GB, free: 7.023 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.00061/0.2198, allocations: 296.1 kB / 0.7391 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.2205, allocations: 405.4 kB / 0.7395 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.2205, allocations: 0 / 0.7395 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2206, allocations: 111.9 kB / 0.7396 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.2226, allocations: 375.2 kB / 0.74 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.2244, allocations: 1.355 MB / 0.7413 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.2248, allocations: 0.8983 MB / 0.7422 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005626/0.2254, allocations: 165.1 kB / 0.7423 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2255, allocations: 51.42 kB / 0.7424 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.2255, allocations: 0 / 0.7424 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of Templates: time 0.02298/0.2485, allocations: 12.25 MB / 0.7543 GB, free: 7.285 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)