Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.001006/0.001006, allocations: 192.8 kB / 17.31 MB, free: 5.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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 280.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 95.81 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1738, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5182/0.692, allocations: 242.4 MB / 0.9183 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.7127, allocations: 15.9 MB / 0.9338 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.7151, allocations: 79.5 kB / 0.9339 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003071/0.7182, allocations: 1.177 MB / 0.9351 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008847/0.7271, allocations: 3.816 MB / 0.9388 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.7313, allocations: 1.821 MB / 0.9406 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006459/0.7378, allocations: 5.271 MB / 0.9457 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.7403, allocations: 1.669 MB / 0.9473 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/0.7467, allocations: 2.604 MB / 0.9499 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.7504, allocations: 1.711 MB / 0.9516 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.7509, allocations: 176 kB / 0.9517 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005894/0.7568, allocations: 2.705 MB / 0.9544 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.7578, allocations: 0.7713 MB / 0.9551 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.7595, allocations: 1.147 MB / 0.9562 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.765, allocations: 3.56 MB / 0.9597 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7651, allocations: 0 / 0.9597 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7651, allocations: 11.94 kB / 0.9597 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-05/0.7651, allocations: 0 / 0.9597 GB, free: 1.305 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.2685/1.034, allocations: 2.497 MB / 0.9622 GB, free: 251.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.034, allocations: 9.938 kB / 0.9622 GB, free: 251.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/1.037, allocations: 0.5043 MB / 0.9627 GB, free: 251.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/1.039, allocations: 1.355 MB / 0.964 GB, free: 250.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.039, allocations: 175 kB / 0.9642 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/1.04, allocations: 152.5 kB / 0.9643 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/1.042, allocations: 1.742 MB / 0.966 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.042, allocations: 5.531 kB / 0.966 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.042, allocations: 63.47 kB / 0.9661 GB, free: 249.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/1.043, allocations: 64.16 kB / 0.9661 GB, free: 249.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/1.045, allocations: 1.375 MB / 0.9675 GB, free: 249.5 MB / 0.7169 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.00854/1.053, allocations: 8.208 MB / 0.9755 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/1.055, allocations: 0.8957 MB / 0.9764 GB, free: 243 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009215/1.056, allocations: 0.5346 MB / 0.9769 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/1.056, allocations: 319.6 kB / 0.9772 GB, free: 242.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.057, allocations: 48.12 kB / 0.9772 GB, free: 242.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 2.935e-06/1.057, allocations: 0 / 0.9772 GB, free: 242.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.006756/1.063, allocations: 3.121 MB / 0.9803 GB, free: 241 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.063, allocations: 62.03 kB / 0.9803 GB, free: 241 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.065, allocations: 1.264 MB / 0.9816 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.065, allocations: 49.55 kB / 0.9816 GB, free: 240.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/1.066, allocations: 0.8107 MB / 0.9824 GB, free: 239.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.066, allocations: 367 kB / 0.9828 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/1.066, allocations: 228.8 kB / 0.983 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/1.066, allocations: 348.4 kB / 0.9833 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/1.067, allocations: 448.3 kB / 0.9837 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/1.068, allocations: 0.8315 MB / 0.9846 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.07, allocations: 1.249 MB / 0.9858 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.07, allocations: 6.031 kB / 0.9858 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002441/1.072, allocations: 1.405 MB / 0.9871 GB, free: 237 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.072, allocations: 9.656 kB / 0.9872 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.072, allocations: 12.17 kB / 0.9872 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.072, allocations: 16.12 kB / 0.9872 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.073, allocations: 283.1 kB / 0.9875 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.059e-05/1.074, allocations: 20.19 kB / 0.9875 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.075, allocations: 74.28 kB / 0.9875 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/1.075, allocations: 53.83 kB / 0.9876 GB, free: 237 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/1.076, allocations: 0.7687 MB / 0.9883 GB, free: 236.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009292/1.077, allocations: 0.8208 MB / 0.9891 GB, free: 236 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001571/1.079, allocations: 1.236 MB / 0.9904 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.581e-06/1.079, allocations: 3.031 kB / 0.9904 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002203/1.081, allocations: 1.392 MB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.081, allocations: 9.828 kB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.081, allocations: 8.781 kB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.081, allocations: 15.41 kB / 0.9918 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.082, allocations: 273.4 kB / 0.992 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/1.082, allocations: 21.23 kB / 0.992 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.083, allocations: 79.2 kB / 0.9921 GB, free: 234.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/1.083, allocations: 52.83 kB / 0.9922 GB, free: 234.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002864/1.084, allocations: 266.4 kB / 0.9924 GB, free: 234.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.084, allocations: 163.4 kB / 0.9926 GB, free: 234.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/1.086, allocations: 1.152 MB / 0.9937 GB, free: 233.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.086, allocations: 10.22 kB / 0.9937 GB, free: 233.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.086, allocations: 6.062 kB / 0.9937 GB, free: 233.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/1.087, allocations: 1.082 MB / 0.9948 GB, free: 233.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/1.092, allocations: 2.792 MB / 0.9975 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.092, allocations: 2.797 kB / 0.9975 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.093, allocations: 239.8 kB / 0.9977 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/1.093, allocations: 9.812 kB / 0.9977 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/1.093, allocations: 30.67 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.093, allocations: 11.31 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.093, allocations: 2 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/1.096, allocations: 1.765 MB / 0.9995 GB, free: 231.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/1.096, allocations: 336.5 kB / 0.9998 GB, free: 230.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.097, allocations: 31.77 kB / 0.9998 GB, free: 230.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/1.098, allocations: 57.02 kB / 0.9999 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.098, allocations: 62.69 kB / 1 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/1.098, allocations: 38.39 kB / 1 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009964/1.099, allocations: 0.8432 MB / 1.001 GB, free: 230.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 1.531 kB / 1.001 GB, free: 230.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002017/1.101, allocations: 0.7563 MB / 1.002 GB, free: 230.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.000514/1.101, allocations: 289.8 kB / 1.002 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002848/1.104, allocations: 1.737 MB / 1.004 GB, free: 229.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.104, allocations: 1.969 kB / 1.004 GB, free: 229.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/1.105, allocations: 0.521 MB / 1.004 GB, free: 229.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.109, allocations: 0.9147 MB / 1.005 GB, free: 228.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/1.113, allocations: 3.458 MB / 1.008 GB, free: 226.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/1.114, allocations: 1.44 MB / 1.01 GB, free: 225.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001596/1.115, allocations: 0.5582 MB / 1.01 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.115, allocations: 129.8 kB / 1.01 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.115, allocations: 0 / 1.01 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0404/1.156, allocations: 31.21 MB / 1.041 GB, free: 195.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)