Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.462/0.462, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 104.5 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 59.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3272, allocations: 70.06 MB / 0.5575 GB, free: 44.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5021/0.8294, allocations: 188.2 MB / 0.7413 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008744/0.8381, allocations: 5.756 MB / 0.7469 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.8398, allocations: 35.78 kB / 0.7469 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.8414, allocations: 0.5035 MB / 0.7474 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.8458, allocations: 1.726 MB / 0.7491 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.8487, allocations: 1.071 MB / 0.7502 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.853, allocations: 4.108 MB / 0.7542 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.8544, allocations: 0.9743 MB / 0.7551 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.8564, allocations: 0.9141 MB / 0.756 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.8588, allocations: 1.003 MB / 0.757 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.859, allocations: 60.69 kB / 0.7571 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.8624, allocations: 1.633 MB / 0.7586 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.8631, allocations: 0.5159 MB / 0.7592 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009387/0.864, allocations: 0.6556 MB / 0.7598 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.8675, allocations: 2.361 MB / 0.7621 GB, free: 436 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8675, allocations: 3.938 kB / 0.7621 GB, free: 432 kB / 0.5105 GB Notification: Performance of FrontEnd: time 6.81e-07/0.8676, allocations: 0 / 0.7621 GB, free: 432 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.8676, allocations: 4 kB / 0.7621 GB, free: 428 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00279/0.8704, allocations: 1.617 MB / 0.7637 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8704, allocations: 8.938 kB / 0.7637 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.8724, allocations: 328.1 kB / 0.764 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.874, allocations: 0.873 MB / 0.7649 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.8741, allocations: 79.38 kB / 0.7649 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.8742, allocations: 96.06 kB / 0.765 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.8761, allocations: 1.087 MB / 0.7661 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.8761, allocations: 0.7031 kB / 0.7661 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.8762, allocations: 41.97 kB / 0.7661 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.8763, allocations: 45.08 kB / 0.7662 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.8778, allocations: 0.9891 MB / 0.7671 GB, free: 15.12 MB / 0.5261 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.006318/0.8841, allocations: 4.248 MB / 0.7713 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.885, allocations: 0.5965 MB / 0.7719 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.8855, allocations: 346 kB / 0.7722 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.8857, allocations: 103.9 kB / 0.7723 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.8857, allocations: 49.19 kB / 0.7723 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.8857, allocations: 3.938 kB / 0.7723 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.004111/0.8899, allocations: 2.192 MB / 0.7745 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.8899, allocations: 59.06 kB / 0.7745 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.8909, allocations: 0.8864 MB / 0.7754 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.891, allocations: 40.89 kB / 0.7755 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.8913, allocations: 0.5156 MB / 0.776 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.8915, allocations: 194.3 kB / 0.7761 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.8917, allocations: 132.1 kB / 0.7763 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8918, allocations: 333.6 kB / 0.7766 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.8923, allocations: 284 kB / 0.7769 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.8928, allocations: 454.5 kB / 0.7773 GB, free: 10.55 MB / 0.5261 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.8968, allocations: 1.749 MB / 0.779 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8969, allocations: 0 / 0.779 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001591/0.8985, allocations: 0.9248 MB / 0.7799 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8985, allocations: 5.594 kB / 0.7799 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8985, allocations: 6.531 kB / 0.7799 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.8987, allocations: 99.8 kB / 0.78 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.8994, allocations: 164.7 kB / 0.7802 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.9027, allocations: 4.292 MB / 0.7844 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.904, allocations: 72.5 kB / 0.7844 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.9041, allocations: 24.38 kB / 0.7844 GB, free: 4.73 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006678/0.9047, allocations: 354.5 kB / 0.7848 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.9049, allocations: 101 kB / 0.7849 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.9052, allocations: 109.6 kB / 0.785 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9052, allocations: 9.094 kB / 0.785 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.9052, allocations: 0 / 0.785 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.9062, allocations: 0.7673 MB / 0.7857 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.9096, allocations: 1.989 MB / 0.7877 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9096, allocations: 4 kB / 0.7877 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.9103, allocations: 142.1 kB / 0.7878 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.745e-05/0.9104, allocations: 44.83 kB / 0.7879 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.9104, allocations: 16 kB / 0.7879 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.9116, allocations: 1.488 MB / 0.7893 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9116, allocations: 6.906 kB / 0.7893 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/0.9188, allocations: 4.492 MB / 0.7937 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.9194, allocations: 251.9 kB / 0.794 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.9196, allocations: 15.98 kB / 0.794 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.9204, allocations: 71.8 kB / 0.7941 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.9206, allocations: 50.88 kB / 0.7941 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.9207, allocations: 27.98 kB / 0.7941 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008228/0.9215, allocations: 0.6161 MB / 0.7947 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9215, allocations: 0 / 0.7947 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001431/0.923, allocations: 428 kB / 0.7951 GB, free: 10.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/0.9235, allocations: 197.8 kB / 0.7953 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.9251, allocations: 0.9954 MB / 0.7963 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9251, allocations: 9 kB / 0.7963 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.9258, allocations: 452.4 kB / 0.7967 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.9288, allocations: 0.6205 MB / 0.7973 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.9328, allocations: 2.89 MB / 0.8002 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.9338, allocations: 1.193 MB / 0.8013 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001085/0.9349, allocations: 256.4 kB / 0.8016 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.9352, allocations: 79.44 kB / 0.8017 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.9352, allocations: 0 / 0.8017 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of Templates: time 0.03653/0.9717, allocations: 22.48 MB / 0.8236 GB, free: 13.11 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)