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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.001294/0.001294, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.363/1.363, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.764/0.764, allocations: 122.9 MB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 0.4917 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4194, allocations: 77.93 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6027/1.022, allocations: 190.4 MB / 0.7538 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009875/1.032, allocations: 5.706 MB / 0.7594 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/1.034, allocations: 42.45 kB / 0.7594 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.036, allocations: 0.5687 MB / 0.76 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/1.041, allocations: 1.833 MB / 0.7618 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/1.045, allocations: 1.165 MB / 0.7629 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005272/1.05, allocations: 2.955 MB / 0.7658 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/1.052, allocations: 1.127 MB / 0.7669 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/1.055, allocations: 1.051 MB / 0.7679 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/1.057, allocations: 0.9549 MB / 0.7689 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003323/1.058, allocations: 124.1 kB / 0.769 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/1.062, allocations: 1.447 MB / 0.7704 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008013/1.063, allocations: 0.5683 MB / 0.7709 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.064, allocations: 0.7279 MB / 0.7716 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004736/1.069, allocations: 2.314 MB / 0.7739 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.069, allocations: 0.9062 kB / 0.7739 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/1.069, allocations: 0 / 0.7739 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.595e-05/1.069, allocations: 0.875 kB / 0.7739 GB, free: 1.391 MB / 0.5762 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.00359/1.072, allocations: 1.621 MB / 0.7755 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.072, allocations: 10.81 kB / 0.7755 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.074, allocations: 329.1 kB / 0.7758 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.076, allocations: 0.8714 MB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/1.076, allocations: 81.28 kB / 0.7767 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.076, allocations: 95.75 kB / 0.7768 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/1.078, allocations: 1.091 MB / 0.7779 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.078, allocations: 0 / 0.7779 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.078, allocations: 45.33 kB / 0.7779 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/1.078, allocations: 41.47 kB / 0.778 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/1.08, allocations: 0.9903 MB / 0.779 GB, free: 16.11 MB / 0.5919 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.006362/1.086, allocations: 4.265 MB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/1.087, allocations: 0.5949 MB / 0.7837 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/1.087, allocations: 346.9 kB / 0.784 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/1.088, allocations: 108.7 kB / 0.7841 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.088, allocations: 45.19 kB / 0.7842 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.464e-06/1.088, allocations: 0 / 0.7842 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004124/1.092, allocations: 2.196 MB / 0.7863 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.092, allocations: 63.38 kB / 0.7864 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.093, allocations: 0.8816 MB / 0.7872 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/1.093, allocations: 40.52 kB / 0.7873 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/1.093, allocations: 0.5194 MB / 0.7878 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.093, allocations: 191.6 kB / 0.788 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/1.094, allocations: 131.6 kB / 0.7881 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.094, allocations: 330.5 kB / 0.7884 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/1.094, allocations: 289.8 kB / 0.7887 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/1.095, allocations: 435 kB / 0.7891 GB, free: 12.36 MB / 0.5919 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.003509/1.098, allocations: 1.747 MB / 0.7908 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.098, allocations: 0 / 0.7908 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001487/1.1, allocations: 0.9293 MB / 0.7917 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.1, allocations: 6.031 kB / 0.7917 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.1, allocations: 5.438 kB / 0.7917 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/1.1, allocations: 95.61 kB / 0.7918 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/1.101, allocations: 166.1 kB / 0.792 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/1.104, allocations: 4.637 MB / 0.7965 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.105, allocations: 31.34 kB / 0.7965 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/1.106, allocations: 25.09 kB / 0.7966 GB, free: 7.934 MB / 0.5919 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.0007132/1.106, allocations: 343.4 kB / 0.7969 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/1.106, allocations: 105.5 kB / 0.797 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/1.107, allocations: 108.7 kB / 0.7971 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.107, allocations: 7.375 kB / 0.7971 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.107, allocations: 4.812 kB / 0.7971 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/1.108, allocations: 0.7637 MB / 0.7978 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/1.111, allocations: 1.987 MB / 0.7998 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.111, allocations: 3.969 kB / 0.7998 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/1.112, allocations: 149.3 kB / 0.7999 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.112, allocations: 41 kB / 0.8 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/1.112, allocations: 17.89 kB / 0.8 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/1.113, allocations: 1.604 MB / 0.8016 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.113, allocations: 7.531 kB / 0.8016 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/1.115, allocations: 1.213 MB / 0.8027 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/1.115, allocations: 246.6 kB / 0.803 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/1.115, allocations: 19.17 kB / 0.803 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/1.116, allocations: 31.94 kB / 0.803 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.116, allocations: 48.64 kB / 0.8031 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/1.116, allocations: 30.25 kB / 0.8031 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007751/1.117, allocations: 0.6179 MB / 0.8037 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.117, allocations: 0 / 0.8037 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001127/1.118, allocations: 307.5 kB / 0.804 GB, free: 5.133 MB / 0.5919 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.0004949/1.119, allocations: 200.9 kB / 0.8042 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.12, allocations: 1.113 MB / 0.8053 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.12, allocations: 6.281 kB / 0.8053 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/1.121, allocations: 445.8 kB / 0.8057 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.124, allocations: 0.6502 MB / 0.8063 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/1.128, allocations: 2.208 MB / 0.8085 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.129, allocations: 1.167 MB / 0.8096 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.129, allocations: 82.77 kB / 0.8097 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of SimCode: time 1.563e-06/1.129, allocations: 0 / 0.8097 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of Templates: time 0.04249/1.172, allocations: 26.94 MB / 0.836 GB, free: 14.96 MB / 0.6231 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)