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.008603/0.008611, allocations: 106.2 kB / 15.74 MB, free: 6 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.001263/0.001264, allocations: 199 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4306/0.4306, allocations: 54.95 MB / 324.9 MB, free: 96 kB / 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.001591/0.001591, allocations: 68.45 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1732, allocations: 59.59 MB / 0.5038 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7349/0.9081, allocations: 242.6 MB / 0.7407 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02679/0.9349, allocations: 15.73 MB / 0.7561 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.9392, allocations: 79.5 kB / 0.7562 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004664/0.944, allocations: 1.321 MB / 0.7574 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.9573, allocations: 3.817 MB / 0.7612 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.9635, allocations: 1.904 MB / 0.763 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.9751, allocations: 5.732 MB / 0.7686 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.9794, allocations: 1.769 MB / 0.7704 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009685/0.9892, allocations: 2.92 MB / 0.7732 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005681/0.9949, allocations: 1.824 MB / 0.775 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.9961, allocations: 204 kB / 0.7752 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007197/1.003, allocations: 2.319 MB / 0.7775 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00196/1.005, allocations: 0.8687 MB / 0.7783 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004604/1.01, allocations: 1.26 MB / 0.7795 GB, free: 128 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/1.021, allocations: 3.751 MB / 0.7832 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/1.021, allocations: 7.938 kB / 0.7832 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.695e-06/1.021, allocations: 0 / 0.7832 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001665/1.021, allocations: 0 / 0.7832 GB, free: 12.36 MB / 0.5606 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.008786/1.03, allocations: 2.649 MB / 0.7858 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.03, allocations: 8.031 kB / 0.7858 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/1.033, allocations: 0.489 MB / 0.7863 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/1.037, allocations: 1.394 MB / 0.7876 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/1.037, allocations: 193.3 kB / 0.7878 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006206/1.038, allocations: 167.9 kB / 0.788 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/1.045, allocations: 2.323 MB / 0.7902 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/1.045, allocations: 11.84 kB / 0.7903 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/1.046, allocations: 67.98 kB / 0.7903 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.717e-05/1.046, allocations: 71.06 kB / 0.7904 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006404/1.052, allocations: 1.94 MB / 0.7923 GB, free: 2.852 MB / 0.5606 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.01498/1.067, allocations: 8.123 MB / 0.8002 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/1.072, allocations: 1.458 MB / 0.8016 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/1.073, allocations: 0.5185 MB / 0.8021 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004356/1.073, allocations: 134 kB / 0.8023 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/1.073, allocations: 55.56 kB / 0.8023 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 3.186e-06/1.073, allocations: 0 / 0.8023 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108): time 0.01432/1.088, allocations: 4.281 MB / 0.8065 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/1.088, allocations: 68.34 kB / 0.8066 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/1.09, allocations: 1.396 MB / 0.8079 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.091, allocations: 57.7 kB / 0.808 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/1.091, allocations: 0.8681 MB / 0.8088 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/1.092, allocations: 390.4 kB / 0.8092 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/1.092, allocations: 254.7 kB / 0.8095 GB, free: 456 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.092, allocations: 361.9 kB / 0.8098 GB, free: 88 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.094, allocations: 0.6189 MB / 0.8104 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/1.096, allocations: 0.9994 MB / 0.8114 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.1, allocations: 1.591 MB / 0.8129 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.1, allocations: 4 kB / 0.8129 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004399/1.104, allocations: 1.836 MB / 0.8147 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/1.104, allocations: 33.7 kB / 0.8148 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.104, allocations: 8 kB / 0.8148 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/1.104, allocations: 16.41 kB / 0.8148 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.106, allocations: 375.5 kB / 0.8151 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/1.106, allocations: 19.92 kB / 0.8152 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/1.108, allocations: 139.9 kB / 0.8153 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.108, allocations: 51.98 kB / 0.8153 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00168/1.11, allocations: 0.8304 MB / 0.8162 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001136/1.111, allocations: 0.8238 MB / 0.817 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/1.113, allocations: 1.287 MB / 0.8182 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/1.113, allocations: 0 / 0.8182 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002779/1.116, allocations: 1.52 MB / 0.8197 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.116, allocations: 37.7 kB / 0.8197 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.116, allocations: 8 kB / 0.8197 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.116, allocations: 19.94 kB / 0.8198 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.117, allocations: 283.6 kB / 0.82 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.117, allocations: 21.48 kB / 0.8201 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.119, allocations: 76.14 kB / 0.8201 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.119, allocations: 52 kB / 0.8202 GB, free: 4.852 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004619/1.119, allocations: 263.8 kB / 0.8204 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/1.12, allocations: 177.8 kB / 0.8206 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/1.123, allocations: 1.502 MB / 0.8221 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.123, allocations: 12 kB / 0.8221 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.123, allocations: 3.938 kB / 0.8221 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003076/1.126, allocations: 1.391 MB / 0.8234 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/1.133, allocations: 3.125 MB / 0.8265 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.133, allocations: 0 / 0.8265 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.135, allocations: 331.7 kB / 0.8268 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/1.135, allocations: 8 kB / 0.8268 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.135, allocations: 27.98 kB / 0.8268 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.135, allocations: 11.88 kB / 0.8269 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.135, allocations: 4 kB / 0.8269 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/1.14, allocations: 2.29 MB / 0.8291 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.141, allocations: 378.9 kB / 0.8295 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.142, allocations: 27.98 kB / 0.8295 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.143, allocations: 139.7 kB / 0.8296 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.144, allocations: 64.89 kB / 0.8297 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.144, allocations: 51.95 kB / 0.8297 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00217/1.146, allocations: 0.9387 MB / 0.8306 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.42e-06/1.146, allocations: 112 / 0.8306 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004211/1.15, allocations: 0.844 MB / 0.8315 GB, free: 9.109 MB / 0.6075 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 (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.0008084/1.151, allocations: 241.4 kB / 0.8317 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005427/1.157, allocations: 2.261 MB / 0.8339 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.157, allocations: 0 / 0.8339 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.158, allocations: 0.6741 MB / 0.8346 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005819/1.164, allocations: 0.9761 MB / 0.8355 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/1.172, allocations: 3.864 MB / 0.8393 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/1.174, allocations: 1.485 MB / 0.8407 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002777/1.177, allocations: 0.5844 MB / 0.8413 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/1.177, allocations: 143.4 kB / 0.8414 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.243e-06/1.177, allocations: 0 / 0.8414 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.06892/1.246, allocations: 36.1 MB / 0.8767 GB, free: 10.91 MB / 0.6544 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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)