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.001023/0.001023, allocations: 97.69 kB / 16.27 MB, free: 5.973 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.001033/0.001033, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.365/1.365, 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.8405/0.8405, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.4911 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 77.91 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5404/0.8975, allocations: 190.4 MB / 0.7532 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.9061, allocations: 5.704 MB / 0.7587 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.9075, allocations: 39.25 kB / 0.7588 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.9092, allocations: 0.5723 MB / 0.7593 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005098/0.9143, allocations: 1.831 MB / 0.7611 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.9178, allocations: 1.167 MB / 0.7623 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004575/0.9224, allocations: 2.948 MB / 0.7651 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.9243, allocations: 1.13 MB / 0.7662 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.9262, allocations: 1.048 MB / 0.7673 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.9282, allocations: 0.9704 MB / 0.7682 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.9285, allocations: 124.1 kB / 0.7683 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.9316, allocations: 1.443 MB / 0.7697 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.9322, allocations: 0.5742 MB / 0.7703 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.9333, allocations: 0.7233 MB / 0.771 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.9369, allocations: 2.312 MB / 0.7733 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.937, allocations: 0.6562 kB / 0.7733 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.937, allocations: 0 / 0.7733 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.937, allocations: 0.9062 kB / 0.7733 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.003011/0.94, allocations: 1.623 MB / 0.7749 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9401, allocations: 10.03 kB / 0.7749 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.9422, allocations: 333.4 kB / 0.7752 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.9435, allocations: 0.8652 MB / 0.776 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.9435, allocations: 73.38 kB / 0.7761 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.9437, allocations: 98.81 kB / 0.7762 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.9453, allocations: 1.088 MB / 0.7773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.9454, allocations: 3.875 kB / 0.7773 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9455, allocations: 49.39 kB / 0.7773 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.9455, allocations: 40.19 kB / 0.7773 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.947, allocations: 0.9896 MB / 0.7783 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.005743/0.9527, allocations: 4.271 MB / 0.7825 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.9535, allocations: 0.5934 MB / 0.7831 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.954, allocations: 348.8 kB / 0.7834 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.9542, allocations: 101.4 kB / 0.7835 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.9542, allocations: 47.86 kB / 0.7835 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.325e-06/0.9542, allocations: 0 / 0.7835 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003922/0.9582, allocations: 2.197 MB / 0.7857 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.9582, allocations: 63.19 kB / 0.7857 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.9594, allocations: 0.8815 MB / 0.7866 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.9595, allocations: 37.52 kB / 0.7866 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.96, allocations: 0.5186 MB / 0.7871 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.9602, allocations: 199 kB / 0.7873 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.9605, allocations: 129.1 kB / 0.7875 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9606, allocations: 335.3 kB / 0.7878 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.9611, allocations: 286.2 kB / 0.788 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.9618, allocations: 436.3 kB / 0.7885 GB, free: 12.37 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.003857/0.9656, allocations: 1.744 MB / 0.7902 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.9656, allocations: 2.875 kB / 0.7902 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001381/0.967, allocations: 0.9312 MB / 0.7911 GB, free: 12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9671, allocations: 9.75 kB / 0.7911 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9671, allocations: 3.594 kB / 0.7911 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.9673, allocations: 93.77 kB / 0.7912 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.968, allocations: 162.9 kB / 0.7913 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.9714, allocations: 4.639 MB / 0.7959 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.9725, allocations: 33.7 kB / 0.7959 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.9726, allocations: 25.73 kB / 0.7959 GB, free: 7.938 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.0006176/0.9732, allocations: 347.9 kB / 0.7963 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.9734, allocations: 101.9 kB / 0.7964 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.9736, allocations: 109.3 kB / 0.7965 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9736, allocations: 5.438 kB / 0.7965 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9736, allocations: 3.938 kB / 0.7965 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.9747, allocations: 0.7654 MB / 0.7972 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.9776, allocations: 1.982 MB / 0.7991 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.9776, allocations: 8.344 kB / 0.7992 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.9783, allocations: 141.4 kB / 0.7993 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.9785, allocations: 50.72 kB / 0.7993 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.9785, allocations: 15.38 kB / 0.7994 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.98, allocations: 1.601 MB / 0.8009 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.98, allocations: 5.812 kB / 0.8009 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.9817, allocations: 1.215 MB / 0.8021 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.9822, allocations: 250.7 kB / 0.8023 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.9823, allocations: 14.77 kB / 0.8024 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.9831, allocations: 33.66 kB / 0.8024 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.9832, allocations: 48.33 kB / 0.8024 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.9833, allocations: 32.16 kB / 0.8025 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007416/0.984, allocations: 0.615 MB / 0.8031 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.984, allocations: 1.203 kB / 0.8031 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001058/0.9851, allocations: 308.2 kB / 0.8034 GB, free: 5.141 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.0004628/0.9855, allocations: 195.6 kB / 0.8036 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.9872, allocations: 1.113 MB / 0.8046 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9872, allocations: 0 / 0.8046 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.9878, allocations: 452.9 kB / 0.8051 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.9906, allocations: 0.6534 MB / 0.8057 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.994, allocations: 2.131 MB / 0.8078 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.9947, allocations: 1.174 MB / 0.8089 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009484/0.9956, allocations: 245.5 kB / 0.8092 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.9958, allocations: 79.19 kB / 0.8092 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/0.9958, allocations: 0 / 0.8092 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.03474/1.031, allocations: 22.28 MB / 0.831 GB, free: 3.484 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)