Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 177.6 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205 MB / 0.5766 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007367/0.0007367, allocations: 90.95 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003215, allocations: 11.56 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1991, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6594/0.8586, allocations: 218.9 MB / 1.11 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008538/0.8672, allocations: 5.857 MB / 1.116 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.8687, allocations: 31.41 kB / 1.116 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.8702, allocations: 0.5029 MB / 1.117 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.8747, allocations: 1.648 MB / 1.118 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.8778, allocations: 1.112 MB / 1.119 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004512/0.8824, allocations: 3.72 MB / 1.123 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.8836, allocations: 0.8842 MB / 1.124 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.8853, allocations: 0.8732 MB / 1.125 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.8871, allocations: 0.8882 MB / 1.126 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.8872, allocations: 43.91 kB / 1.126 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.8905, allocations: 1.72 MB / 1.127 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.8911, allocations: 454.6 kB / 1.128 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007933/0.8919, allocations: 0.5779 MB / 1.128 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.894, allocations: 1.641 MB / 1.13 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.894, allocations: 2.875 kB / 1.13 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.894, allocations: 0 / 1.13 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.894, allocations: 4 kB / 1.13 GB, free: 0.5664 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002219/0.8963, allocations: 1.308 MB / 1.131 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8963, allocations: 12.23 kB / 1.131 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.8991, allocations: 491.4 kB / 1.132 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.9005, allocations: 0.8177 MB / 1.132 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.9008, allocations: 136 kB / 1.133 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.901, allocations: 92.38 kB / 1.133 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.9032, allocations: 1.225 MB / 1.134 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.9032, allocations: 0.5 kB / 1.134 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9034, allocations: 39.34 kB / 1.134 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/0.9034, allocations: 36.45 kB / 1.134 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.9062, allocations: 1.114 MB / 1.135 GB, free: 15.22 MB / 0.7136 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.007669/0.9139, allocations: 4.39 MB / 1.139 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.9157, allocations: 0.7881 MB / 1.14 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.9166, allocations: 422 kB / 1.141 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.9168, allocations: 98.44 kB / 1.141 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.9168, allocations: 47.3 kB / 1.141 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.9169, allocations: 0 / 1.141 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.005684/0.9225, allocations: 2.287 MB / 1.143 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.9226, allocations: 54.31 kB / 1.143 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.9237, allocations: 0.8805 MB / 1.144 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.9238, allocations: 39.42 kB / 1.144 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.9242, allocations: 497.5 kB / 1.144 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.9243, allocations: 161 kB / 1.144 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9244, allocations: 56.08 kB / 1.145 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9246, allocations: 332.7 kB / 1.145 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008799/0.9255, allocations: 388.5 kB / 1.145 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.9264, allocations: 0.539 MB / 1.146 GB, free: 11.57 MB / 0.7136 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.005646/0.9321, allocations: 2.335 MB / 1.148 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.9321, allocations: 2.969 kB / 1.148 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002259/0.9344, allocations: 1.027 MB / 1.149 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9344, allocations: 18.89 kB / 1.149 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9345, allocations: 7.156 kB / 1.149 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.9345, allocations: 8.5 kB / 1.149 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.9354, allocations: 208.5 kB / 1.149 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9354, allocations: 9.562 kB / 1.149 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.9367, allocations: 116.4 kB / 1.149 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.9368, allocations: 20.12 kB / 1.149 GB, free: 10.46 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (73): * Single equations (assignments): 73 * 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 prepare postOptimizeDAE: time 0.0006072/0.9374, allocations: 319.8 kB / 1.15 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.9376, allocations: 100.2 kB / 1.15 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.9378, allocations: 103.8 kB / 1.15 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.9378, allocations: 9.156 kB / 1.15 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9378, allocations: 0 / 1.15 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001906/0.9397, allocations: 1.062 MB / 1.151 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.9448, allocations: 2.229 MB / 1.153 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9449, allocations: 3.438 kB / 1.153 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.9458, allocations: 193.4 kB / 1.153 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.9458, allocations: 2.438 kB / 1.153 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.9459, allocations: 20.89 kB / 1.153 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.9459, allocations: 5.281 kB / 1.153 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9459, allocations: 5.875 kB / 1.153 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.9493, allocations: 1.505 MB / 1.155 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008493/0.9502, allocations: 267.4 kB / 1.155 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.9504, allocations: 18.41 kB / 1.155 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9515, allocations: 114.5 kB / 1.155 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.9516, allocations: 40.98 kB / 1.155 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.9517, allocations: 27.58 kB / 1.155 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001028/0.9527, allocations: 0.6126 MB / 1.156 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.61e-07/0.9527, allocations: 0 / 1.156 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001159/0.9539, allocations: 268.8 kB / 1.156 GB, free: 7.047 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (45): * Single equations (assignments): 45 * 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.0005905/0.9545, allocations: 216.4 kB / 1.156 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.9569, allocations: 0.8426 MB / 1.157 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.9569, allocations: 7.312 kB / 1.157 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.9579, allocations: 417.4 kB / 1.158 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.9609, allocations: 0.5679 MB / 1.158 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.9659, allocations: 2.657 MB / 1.161 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.9666, allocations: 1.119 MB / 1.162 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.9669, allocations: 78.8 kB / 1.162 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.9669, allocations: 0 / 1.162 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.02517/0.9921, allocations: 16.92 MB / 1.178 GB, free: 4.336 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)