Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008717/0.0008717, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006559/0.006559, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 270.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 15.88 kB / 0.5987 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.181, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5588/0.7398, allocations: 185.8 MB / 0.8666 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009795/0.7497, allocations: 5.737 MB / 0.8722 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.7514, allocations: 37.84 kB / 0.8722 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.7529, allocations: 0.4999 MB / 0.8727 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.758, allocations: 1.737 MB / 0.8744 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.7612, allocations: 1.09 MB / 0.8755 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004632/0.7658, allocations: 4.093 MB / 0.8795 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.7671, allocations: 0.7713 MB / 0.8802 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.7688, allocations: 0.872 MB / 0.8811 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.7707, allocations: 0.908 MB / 0.882 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.7709, allocations: 43.75 kB / 0.882 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.7742, allocations: 1.622 MB / 0.8836 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.7747, allocations: 390.8 kB / 0.884 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008249/0.7755, allocations: 0.6003 MB / 0.8846 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.779, allocations: 2.134 MB / 0.8867 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.779, allocations: 0 / 0.8867 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.779, allocations: 0 / 0.8867 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.779, allocations: 0 / 0.8867 GB, free: 1.465 MB / 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.002232/0.7813, allocations: 1.286 MB / 0.8879 GB, free: 128 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.7813, allocations: 12.03 kB / 0.8879 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.7833, allocations: 314.3 kB / 0.8882 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.7846, allocations: 0.8201 MB / 0.889 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.7847, allocations: 62 kB / 0.8891 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.7848, allocations: 80 kB / 0.8892 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.7866, allocations: 0.9247 MB / 0.8901 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.7866, allocations: 0 / 0.8901 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.7867, allocations: 47.97 kB / 0.8901 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.7867, allocations: 37.98 kB / 0.8901 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7882, allocations: 0.8315 MB / 0.891 GB, free: 12.96 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.005702/0.794, allocations: 3.54 MB / 0.8944 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.7948, allocations: 0.5012 MB / 0.8949 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.7952, allocations: 303.1 kB / 0.8952 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.7955, allocations: 109.5 kB / 0.8953 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.7955, allocations: 47 kB / 0.8953 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.7955, allocations: 3.938 kB / 0.8953 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004157/0.7997, allocations: 1.946 MB / 0.8972 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.7997, allocations: 55.84 kB / 0.8973 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.8008, allocations: 0.7981 MB / 0.8981 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.8008, allocations: 37.7 kB / 0.8981 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.8012, allocations: 479.3 kB / 0.8986 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.8013, allocations: 173.5 kB / 0.8987 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.8014, allocations: 49.69 kB / 0.8988 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8015, allocations: 333.9 kB / 0.8991 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.802, allocations: 249.2 kB / 0.8993 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.8025, allocations: 365.2 kB / 0.8997 GB, free: 3.578 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.003767/0.8063, allocations: 1.566 MB / 0.9012 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8063, allocations: 3.938 kB / 0.9012 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001407/0.8077, allocations: 0.8004 MB / 0.902 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8077, allocations: 8 kB / 0.902 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8077, allocations: 0 / 0.902 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.808, allocations: 89.66 kB / 0.9021 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.8087, allocations: 159.8 kB / 0.9022 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.8117, allocations: 3.06 MB / 0.9052 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8127, allocations: 63.86 kB / 0.9053 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.8127, allocations: 20 kB / 0.9053 GB, free: 13.47 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 sytem: 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.000524/0.8133, allocations: 297.8 kB / 0.9056 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.8134, allocations: 102.9 kB / 0.9057 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.8136, allocations: 100.7 kB / 0.9058 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8136, allocations: 4 kB / 0.9058 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8137, allocations: 4.188 kB / 0.9058 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.8147, allocations: 0.8427 MB / 0.9066 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.8176, allocations: 1.819 MB / 0.9084 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.8176, allocations: 4 kB / 0.9084 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.8182, allocations: 140.1 kB / 0.9085 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.8185, allocations: 76.69 kB / 0.9086 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.8185, allocations: 19.98 kB / 0.9086 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.8201, allocations: 1.64 MB / 0.9102 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8202, allocations: 4 kB / 0.9102 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.8217, allocations: 1.095 MB / 0.9113 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.8222, allocations: 236 kB / 0.9115 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8223, allocations: 16 kB / 0.9115 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.823, allocations: 69.47 kB / 0.9116 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.8232, allocations: 47.83 kB / 0.9117 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.8233, allocations: 31.98 kB / 0.9117 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007278/0.824, allocations: 0.5576 MB / 0.9122 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.3e-07/0.824, allocations: 4 kB / 0.9122 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009129/0.8249, allocations: 284 kB / 0.9125 GB, free: 5.699 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.00045/0.8254, allocations: 196.6 kB / 0.9127 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.8267, allocations: 0.8006 MB / 0.9135 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8267, allocations: 0 / 0.9135 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.8273, allocations: 427.4 kB / 0.9139 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.8305, allocations: 0.5718 MB / 0.9144 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.8336, allocations: 2.248 MB / 0.9166 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.8343, allocations: 1.084 MB / 0.9177 GB, free: 252 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009162/0.8352, allocations: 219.7 kB / 0.9179 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.8354, allocations: 67.42 kB / 0.918 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.8354, allocations: 0 / 0.918 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.03313/0.8686, allocations: 19.52 MB / 0.937 GB, free: 12.73 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)