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.001555/0.001555, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.001797/0.001798, allocations: 190.4 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 287.4 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.9352/0.9352, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 90.86 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1672, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5387/0.7059, allocations: 242.4 MB / 0.9183 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.7273, allocations: 15.9 MB / 0.9338 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.7298, allocations: 83.44 kB / 0.9339 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.7333, allocations: 1.177 MB / 0.9351 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009474/0.7428, allocations: 3.82 MB / 0.9388 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.7476, allocations: 1.81 MB / 0.9406 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007136/0.7548, allocations: 5.27 MB / 0.9457 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.7577, allocations: 1.678 MB / 0.9473 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.7634, allocations: 2.604 MB / 0.9499 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.767, allocations: 1.715 MB / 0.9516 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005409/0.7675, allocations: 176 kB / 0.9517 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/0.7731, allocations: 2.705 MB / 0.9544 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.7743, allocations: 0.7674 MB / 0.9551 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.7766, allocations: 1.151 MB / 0.9562 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.7827, allocations: 3.56 MB / 0.9597 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7827, allocations: 0 / 0.9597 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7827, allocations: 3.938 kB / 0.9597 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.646e-05/0.7827, allocations: 8 kB / 0.9597 GB, free: 1.297 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.2603/1.043, allocations: 2.492 MB / 0.9622 GB, free: 251.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.043, allocations: 12.61 kB / 0.9622 GB, free: 251.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/1.046, allocations: 0.5035 MB / 0.9627 GB, free: 251.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/1.049, allocations: 1.363 MB / 0.964 GB, free: 250.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/1.049, allocations: 174.7 kB / 0.9642 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/1.05, allocations: 148.9 kB / 0.9643 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/1.053, allocations: 1.741 MB / 0.966 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/1.053, allocations: 5.656 kB / 0.966 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.053, allocations: 60.5 kB / 0.9661 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.741e-05/1.053, allocations: 62 kB / 0.9661 GB, free: 250 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/1.056, 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.009354/1.065, allocations: 8.203 MB / 0.9755 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.067, allocations: 0.8947 MB / 0.9764 GB, free: 243 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.068, allocations: 0.5394 MB / 0.9769 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/1.069, allocations: 318.7 kB / 0.9772 GB, free: 242.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/1.069, allocations: 46.14 kB / 0.9772 GB, free: 242.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 4.539e-06/1.069, allocations: 3.844 kB / 0.9772 GB, free: 242.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.007407/1.076, allocations: 3.115 MB / 0.9803 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/1.076, allocations: 65.97 kB / 0.9803 GB, free: 241 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.078, allocations: 1.26 MB / 0.9816 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.078, allocations: 49.77 kB / 0.9816 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/1.079, allocations: 0.8143 MB / 0.9824 GB, free: 239.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.079, allocations: 363.8 kB / 0.9828 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.079, allocations: 232.8 kB / 0.983 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.08, allocations: 353.2 kB / 0.9833 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/1.08, allocations: 443.6 kB / 0.9837 GB, free: 239 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/1.081, allocations: 0.8282 MB / 0.9845 GB, free: 238.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.083, allocations: 1.25 MB / 0.9858 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.083, allocations: 7.031 kB / 0.9858 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002473/1.086, allocations: 1.409 MB / 0.9871 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.086, allocations: 9.031 kB / 0.9872 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.086, allocations: 13.56 kB / 0.9872 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.086, allocations: 16.44 kB / 0.9872 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.087, allocations: 271.5 kB / 0.9874 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/1.087, allocations: 20.95 kB / 0.9875 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.088, allocations: 77.88 kB / 0.9875 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.088, allocations: 54.64 kB / 0.9876 GB, free: 237 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/1.09, allocations: 0.7696 MB / 0.9883 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009716/1.091, allocations: 0.8218 MB / 0.9891 GB, free: 236 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001719/1.092, allocations: 1.236 MB / 0.9904 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/1.093, allocations: 2.719 kB / 0.9904 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002327/1.095, allocations: 1.389 MB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.095, allocations: 11.03 kB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.095, allocations: 9.75 kB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.095, allocations: 17.45 kB / 0.9917 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.096, allocations: 277.5 kB / 0.992 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/1.096, allocations: 20.2 kB / 0.992 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.097, allocations: 80.73 kB / 0.9921 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.098, allocations: 51.31 kB / 0.9922 GB, free: 234.7 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.0003087/1.098, allocations: 266.3 kB / 0.9924 GB, free: 234.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/1.098, allocations: 164 kB / 0.9926 GB, free: 234.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.1, allocations: 1.153 MB / 0.9937 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.1, allocations: 10.23 kB / 0.9937 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.1, allocations: 1.094 kB / 0.9937 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/1.102, allocations: 1.079 MB / 0.9948 GB, free: 233.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/1.107, allocations: 2.793 MB / 0.9975 GB, free: 232.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.107, allocations: 2.812 kB / 0.9975 GB, free: 232.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.108, allocations: 245.5 kB / 0.9977 GB, free: 232.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/1.108, allocations: 10.25 kB / 0.9977 GB, free: 232.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/1.109, allocations: 30.34 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/1.109, allocations: 4.656 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.109, allocations: 3.188 kB / 0.9978 GB, free: 232 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.111, allocations: 1.766 MB / 0.9995 GB, free: 231.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/1.112, allocations: 337.1 kB / 0.9998 GB, free: 230.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/1.113, allocations: 27.56 kB / 0.9998 GB, free: 230.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.114, allocations: 61.78 kB / 0.9999 GB, free: 230.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.114, allocations: 62.8 kB / 1 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/1.114, allocations: 41.78 kB / 1 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001259/1.115, allocations: 0.8404 MB / 1.001 GB, free: 230.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/1.115, allocations: 3.062 kB / 1.001 GB, free: 230.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002431/1.118, allocations: 0.7597 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.0005702/1.118, allocations: 278.9 kB / 1.002 GB, free: 230.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003124/1.121, allocations: 1.731 MB / 1.004 GB, free: 229.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.121, allocations: 1.75 kB / 1.004 GB, free: 229.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/1.122, allocations: 0.5252 MB / 1.004 GB, free: 229.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/1.127, allocations: 0.9175 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.005236/1.132, allocations: 3.46 MB / 1.008 GB, free: 226.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009/1.133, allocations: 1.443 MB / 1.01 GB, free: 225.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001785/1.134, allocations: 0.5606 MB / 1.01 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/1.135, allocations: 126 kB / 1.01 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/1.135, allocations: 0 / 1.01 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.04106/1.176, 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)