Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001219/0.001219, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001356/0.001356, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4573/0.4573, allocations: 55.03 MB / 325.4 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006149, allocations: 20 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4448, allocations: 60.71 MB / 457.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7054/1.15, allocations: 221.6 MB / 0.663 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02556/1.176, allocations: 14.77 MB / 0.6774 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004405/1.18, allocations: 71.19 kB / 0.6775 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004087/1.184, allocations: 0.8407 MB / 0.6783 GB, free: 5.695 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01551/1.2, allocations: 2.806 MB / 0.6811 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007694/1.208, allocations: 1.416 MB / 0.6825 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01854/1.226, allocations: 6.789 MB / 0.6891 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005823/1.232, allocations: 1.35 MB / 0.6904 GB, free: 21.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/1.243, allocations: 2.348 MB / 0.6927 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006958/1.25, allocations: 1.768 MB / 0.6944 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001615/1.252, allocations: 94.03 kB / 0.6945 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/1.26, allocations: 1.319 MB / 0.6958 GB, free: 21.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002701/1.263, allocations: 0.7571 MB / 0.6965 GB, free: 21.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003184/1.266, allocations: 477.6 kB / 0.697 GB, free: 21.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.277, allocations: 2.611 MB / 0.6996 GB, free: 20.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/1.278, allocations: 0 / 0.6996 GB, free: 20.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.771e-06/1.278, allocations: 0 / 0.6996 GB, free: 20.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002445/1.278, allocations: 0 / 0.6996 GB, free: 20.61 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.01083/1.289, allocations: 2.238 MB / 0.7017 GB, free: 19.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.627e-05/1.289, allocations: 8.594 kB / 0.7017 GB, free: 19.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/1.295, allocations: 495.4 kB / 0.7022 GB, free: 18.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/1.302, allocations: 1.26 MB / 0.7034 GB, free: 18.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/1.302, allocations: 185.5 kB / 0.7036 GB, free: 18.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/1.303, allocations: 177.3 kB / 0.7038 GB, free: 18.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/1.316, allocations: 2.388 MB / 0.7061 GB, free: 17.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/1.317, allocations: 3.281 kB / 0.7061 GB, free: 17.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007573/1.317, allocations: 71.17 kB / 0.7062 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/1.318, allocations: 69.66 kB / 0.7063 GB, free: 17.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/1.328, allocations: 2.015 MB / 0.7082 GB, free: 17.14 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.02395/1.352, allocations: 8.129 MB / 0.7162 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/1.36, allocations: 1.522 MB / 0.7177 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/1.362, allocations: 0.524 MB / 0.7182 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/1.363, allocations: 151.8 kB / 0.7183 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.319e-05/1.363, allocations: 51.91 kB / 0.7184 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=102): time 7.845e-06/1.363, allocations: 0 / 0.7184 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.02718/1.391, allocations: 4.501 MB / 0.7228 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.391, allocations: 62.44 kB / 0.7228 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/1.395, allocations: 1.386 MB / 0.7242 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006654/1.396, allocations: 51.11 kB / 0.7242 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.398, allocations: 0.8693 MB / 0.7251 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009806/1.399, allocations: 389.7 kB / 0.7254 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/1.399, allocations: 30.5 kB / 0.7255 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000306/1.399, allocations: 356.8 kB / 0.7258 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.402, allocations: 0.638 MB / 0.7264 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/1.406, allocations: 1.022 MB / 0.7274 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/1.409, allocations: 0.8028 MB / 0.7282 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/1.409, allocations: 3.344 kB / 0.7282 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007725/1.417, allocations: 1.888 MB / 0.7301 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004475/1.417, allocations: 378.3 kB / 0.7304 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/1.417, allocations: 8.875 kB / 0.7304 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.496e-05/1.418, allocations: 18.41 kB / 0.7304 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/1.42, allocations: 387.7 kB / 0.7308 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.949e-05/1.421, allocations: 17.06 kB / 0.7308 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/1.425, allocations: 260.9 kB / 0.7311 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.425, allocations: 56.98 kB / 0.7311 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.425, allocations: 4 kB / 0.7311 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003961/1.429, allocations: 1.339 MB / 0.7324 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/1.429, allocations: 9.125 kB / 0.7325 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.429, allocations: 16 kB / 0.7325 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.431, allocations: 292.6 kB / 0.7328 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.075e-05/1.431, allocations: 22.52 kB / 0.7328 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.433, allocations: 158.9 kB / 0.7329 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.433, allocations: 57.89 kB / 0.733 GB, free: 3.387 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,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 (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001365/1.434, allocations: 0.5424 MB / 0.7335 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/1.435, allocations: 173.9 kB / 0.7337 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/1.439, allocations: 1.549 MB / 0.7352 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/1.439, allocations: 12 kB / 0.7352 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.439, allocations: 2.625 kB / 0.7352 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003116/1.442, allocations: 1.465 MB / 0.7366 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/1.45, allocations: 3.193 MB / 0.7397 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.45, allocations: 0 / 0.7397 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.452, allocations: 342.3 kB / 0.7401 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-05/1.452, allocations: 8 kB / 0.7401 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.452, allocations: 32.47 kB / 0.7401 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.452, allocations: 4 kB / 0.7401 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.452, allocations: 2.625 kB / 0.7401 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/1.457, allocations: 2.389 MB / 0.7425 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.459, allocations: 381.5 kB / 0.7428 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000587/1.459, allocations: 28.17 kB / 0.7428 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/1.462, allocations: 224.8 kB / 0.7431 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.462, allocations: 63.16 kB / 0.7431 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.462, allocations: 55.58 kB / 0.7432 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002366/1.465, allocations: 0.9238 MB / 0.7441 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/1.465, allocations: 0 / 0.7441 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00391/1.469, allocations: 0.8361 MB / 0.7449 GB, free: 9.852 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008817/1.469, allocations: 251.3 kB / 0.7451 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005411/1.475, allocations: 2.307 MB / 0.7474 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.475, allocations: 1.438 kB / 0.7474 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.477, allocations: 0.7132 MB / 0.7481 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/1.483, allocations: 1.03 MB / 0.7491 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/1.492, allocations: 4.71 MB / 0.7537 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/1.493, allocations: 1.489 MB / 0.7551 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00276/1.496, allocations: 0.58 MB / 0.7557 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/1.497, allocations: 145.7 kB / 0.7558 GB, free: 15.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.497, allocations: 0 / 0.7558 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Templates: time 0.06368/1.56, allocations: 33.58 MB / 0.7886 GB, free: 14.77 MB / 0.5762 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: