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.001117/0.001117, allocations: 103.5 kB / 16.27 MB, free: 6.309 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.001094/0.001094, allocations: 191.6 kB / 17.19 MB, free: 5.93 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7683/0.7683, allocations: 126.4 MB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.12 kB / 0.4953 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3675, allocations: 78.77 MB / 0.5723 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5541/0.9216, allocations: 190.5 MB / 0.7583 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009956/0.9316, allocations: 5.712 MB / 0.7639 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.9338, allocations: 41.25 kB / 0.7639 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.9356, allocations: 0.5716 MB / 0.7645 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.9407, allocations: 1.831 MB / 0.7663 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.9442, allocations: 1.17 MB / 0.7674 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.9486, allocations: 2.951 MB / 0.7703 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.9501, allocations: 1.121 MB / 0.7714 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.9528, allocations: 1.235 MB / 0.7726 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.955, allocations: 0.9547 MB / 0.7735 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.9553, allocations: 122.9 kB / 0.7736 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.9591, allocations: 1.433 MB / 0.775 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007373/0.9598, allocations: 0.5745 MB / 0.7756 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.9611, allocations: 0.7246 MB / 0.7763 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.9645, allocations: 2.321 MB / 0.7786 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9645, allocations: 0 / 0.7786 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9645, allocations: 0.9062 kB / 0.7786 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.9645, allocations: 0 / 0.7786 GB, free: 1.363 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.002531/0.9671, allocations: 1.627 MB / 0.7802 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9671, allocations: 15.25 kB / 0.7802 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.969, allocations: 330.2 kB / 0.7805 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.9705, allocations: 0.8663 MB / 0.7813 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.9705, allocations: 76.06 kB / 0.7814 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.9707, allocations: 96.28 kB / 0.7815 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.9725, allocations: 1.089 MB / 0.7826 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.9726, allocations: 3.656 kB / 0.7826 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.9727, allocations: 43.19 kB / 0.7826 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.9728, allocations: 40.03 kB / 0.7826 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.9742, allocations: 0.9907 MB / 0.7836 GB, free: 16.09 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.005938/0.9802, allocations: 4.416 MB / 0.7879 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.981, allocations: 0.595 MB / 0.7885 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.9815, allocations: 350.7 kB / 0.7888 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.9817, allocations: 113.2 kB / 0.7889 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.9817, allocations: 40.28 kB / 0.789 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.9817, allocations: 3.188 kB / 0.789 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003883/0.9856, allocations: 2.192 MB / 0.7911 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.9857, allocations: 58.22 kB / 0.7912 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009573/0.9867, allocations: 0.8896 MB / 0.7921 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.9867, allocations: 41.55 kB / 0.7921 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.9871, allocations: 0.5137 MB / 0.7926 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.9872, allocations: 196.5 kB / 0.7928 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.9874, allocations: 129.3 kB / 0.7929 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9876, allocations: 333.7 kB / 0.7932 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.988, allocations: 287.8 kB / 0.7935 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.9885, allocations: 432.7 kB / 0.7939 GB, free: 12.16 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.004205/0.9927, allocations: 1.743 MB / 0.7956 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.9928, allocations: 5.688 kB / 0.7956 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001755/0.9945, allocations: 0.9283 MB / 0.7965 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.9946, allocations: 6.531 kB / 0.7965 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9946, allocations: 4.75 kB / 0.7965 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.9948, allocations: 93.03 kB / 0.7966 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.9956, allocations: 166.3 kB / 0.7968 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.9994, allocations: 4.642 MB / 0.8013 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/1, allocations: 34.33 kB / 0.8014 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/1, allocations: 25.56 kB / 0.8014 GB, free: 7.73 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.0005909/1.001, allocations: 350.2 kB / 0.8017 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/1.001, allocations: 107.7 kB / 0.8018 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/1.001, allocations: 106.3 kB / 0.8019 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.001, allocations: 9.656 kB / 0.8019 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.001, allocations: 2.5 kB / 0.8019 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/1.002, allocations: 0.7646 MB / 0.8027 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/1.005, allocations: 1.984 MB / 0.8046 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.005, allocations: 5.281 kB / 0.8046 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.006, allocations: 143.6 kB / 0.8048 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/1.006, allocations: 48.09 kB / 0.8048 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/1.006, allocations: 22.89 kB / 0.8048 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.007, allocations: 1.604 MB / 0.8064 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.007, allocations: 9.406 kB / 0.8064 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/1.009, allocations: 1.211 MB / 0.8076 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.01, allocations: 254.5 kB / 0.8078 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.01, allocations: 13.03 kB / 0.8078 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/1.01, allocations: 35.8 kB / 0.8079 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.01, allocations: 53.31 kB / 0.8079 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.011, allocations: 26.64 kB / 0.8079 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006869/1.011, allocations: 0.6181 MB / 0.8085 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0 / 0.8085 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009551/1.012, allocations: 301.1 kB / 0.8088 GB, free: 4.914 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.0004301/1.013, allocations: 192.5 kB / 0.809 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.014, allocations: 1.112 MB / 0.8101 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.014, allocations: 3.812 kB / 0.8101 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/1.015, allocations: 451.7 kB / 0.8105 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.017, allocations: 0.6554 MB / 0.8112 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.02, allocations: 2.117 MB / 0.8132 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/1.021, allocations: 1.169 MB / 0.8144 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009329/1.022, allocations: 246.4 kB / 0.8146 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/1.022, allocations: 78.55 kB / 0.8147 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/1.022, allocations: 3.094 kB / 0.8147 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of Templates: time 0.04259/1.065, allocations: 22.27 MB / 0.8364 GB, free: 1.645 MB / 0.6075 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)