Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 107.7 kB / 16.41 MB, free: 6.027 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.001058/0.001058, allocations: 190.3 kB / 17.34 MB, free: 5.633 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6819/0.6819, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 71.08 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1374, allocations: 76.18 MB / 0.6321 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4813/0.6188, allocations: 190.6 MB / 0.8182 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008225/0.627, allocations: 5.732 MB / 0.8238 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.6284, allocations: 43.03 kB / 0.8238 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6298, allocations: 0.5796 MB / 0.8244 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.6338, allocations: 1.849 MB / 0.8262 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6365, allocations: 1.184 MB / 0.8274 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.6399, allocations: 2.952 MB / 0.8302 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.6412, allocations: 0.9539 MB / 0.8312 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.643, allocations: 1.071 MB / 0.8322 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.6445, allocations: 0.9118 MB / 0.8331 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.6447, allocations: 107.8 kB / 0.8332 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.6474, allocations: 1.431 MB / 0.8346 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004483/0.6478, allocations: 461.3 kB / 0.835 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.6485, allocations: 0.6535 MB / 0.8357 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.6512, allocations: 2.139 MB / 0.8378 GB, free: 172 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6512, allocations: 0 / 0.8378 GB, free: 172 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6512, allocations: 3.938 kB / 0.8378 GB, free: 168 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.6512, allocations: 0 / 0.8378 GB, free: 168 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002283/0.6535, allocations: 1.512 MB / 0.8393 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.6536, allocations: 7.594 kB / 0.8393 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.6554, allocations: 313.4 kB / 0.8396 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6567, allocations: 0.8562 MB / 0.8404 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.6567, allocations: 69.25 kB / 0.8405 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6568, allocations: 82.81 kB / 0.8405 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6582, allocations: 0.9136 MB / 0.8414 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6583, allocations: 0 / 0.8414 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.6584, allocations: 35.69 kB / 0.8415 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.6584, allocations: 32.41 kB / 0.8415 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.6596, allocations: 0.8259 MB / 0.8423 GB, free: 13.25 MB / 0.6075 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.004618/0.6643, allocations: 3.504 MB / 0.8457 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.665, allocations: 0.4945 MB / 0.8462 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.6655, allocations: 302 kB / 0.8465 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.6657, allocations: 99.97 kB / 0.8466 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6657, allocations: 48.62 kB / 0.8466 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/0.6657, allocations: 0 / 0.8466 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003716/0.6695, allocations: 1.91 MB / 0.8485 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.6695, allocations: 59.78 kB / 0.8486 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.6704, allocations: 0.8097 MB / 0.8494 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.6705, allocations: 37.7 kB / 0.8494 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.6708, allocations: 477.6 kB / 0.8498 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.6709, allocations: 173.7 kB / 0.85 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.6711, allocations: 114.2 kB / 0.8501 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6712, allocations: 333.9 kB / 0.8504 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.6716, allocations: 237.2 kB / 0.8507 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.6721, allocations: 361.2 kB / 0.851 GB, free: 5.477 MB / 0.6075 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.003622/0.6757, allocations: 1.531 MB / 0.8525 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6758, allocations: 4 kB / 0.8525 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001481/0.6773, allocations: 0.7887 MB / 0.8533 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6773, allocations: 8 kB / 0.8533 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6773, allocations: 0 / 0.8533 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.6776, allocations: 90.78 kB / 0.8534 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.6783, allocations: 151.8 kB / 0.8535 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.6811, allocations: 3.294 MB / 0.8567 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.682, allocations: 27.89 kB / 0.8568 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.6821, allocations: 27.92 kB / 0.8568 GB, free: 15.21 MB / 0.6231 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.6825, allocations: 297.6 kB / 0.8571 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6827, allocations: 98.97 kB / 0.8572 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.6829, allocations: 100.7 kB / 0.8573 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6829, allocations: 4 kB / 0.8573 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6829, allocations: 0 / 0.8573 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/0.6839, allocations: 0.8427 MB / 0.8581 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6869, allocations: 1.795 MB / 0.8598 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6869, allocations: 4.188 kB / 0.8598 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.6875, allocations: 127.9 kB / 0.86 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.6877, allocations: 73.2 kB / 0.86 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.6878, allocations: 19.94 kB / 0.8601 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.6893, allocations: 1.785 MB / 0.8618 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6893, allocations: 4 kB / 0.8618 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.6907, allocations: 1.073 MB / 0.8629 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.691, allocations: 235.9 kB / 0.8631 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6912, allocations: 12 kB / 0.8631 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.6918, allocations: 33.91 kB / 0.8631 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.692, allocations: 51.88 kB / 0.8632 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.692, allocations: 27.98 kB / 0.8632 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006721/0.6927, allocations: 0.5615 MB / 0.8637 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6927, allocations: 0 / 0.8637 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008018/0.6935, allocations: 284 kB / 0.864 GB, free: 7.402 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000394/0.6939, allocations: 191.5 kB / 0.8642 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.6951, allocations: 0.8005 MB / 0.865 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6951, allocations: 4 kB / 0.865 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.6957, allocations: 411.8 kB / 0.8654 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.6982, allocations: 0.6072 MB / 0.866 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.7009, allocations: 1.8 MB / 0.8677 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.7016, allocations: 1.087 MB / 0.8688 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006887/0.7023, allocations: 219.7 kB / 0.869 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.7024, allocations: 63.44 kB / 0.8691 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.7025, allocations: 0 / 0.8691 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of Templates: time 0.03133/0.7338, allocations: 20.74 MB / 0.8893 GB, free: 13.64 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)