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.001315/0.001316, allocations: 107 kB / 16.36 MB, free: 6.336 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.001405/0.001405, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 280.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8898/0.8898, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4782/0.6397, allocations: 190.6 MB / 0.8677 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009021/0.6488, allocations: 5.724 MB / 0.8733 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.6499, allocations: 43.75 kB / 0.8733 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.6513, allocations: 0.5824 MB / 0.8739 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.6556, allocations: 1.839 MB / 0.8757 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.6584, allocations: 1.2 MB / 0.8769 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.6618, allocations: 2.941 MB / 0.8797 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.6631, allocations: 0.962 MB / 0.8807 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.6649, allocations: 1.051 MB / 0.8817 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.6666, allocations: 0.9115 MB / 0.8826 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.6668, allocations: 108 kB / 0.8827 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.6695, allocations: 1.43 MB / 0.8841 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.67, allocations: 458.8 kB / 0.8845 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007634/0.6707, allocations: 0.6495 MB / 0.8852 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.6737, allocations: 2.146 MB / 0.8872 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6737, allocations: 3.938 kB / 0.8873 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6737, allocations: 0 / 0.8873 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.6737, allocations: 0 / 0.8873 GB, free: 11.79 MB / 0.6544 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.002454/0.6762, allocations: 1.504 MB / 0.8887 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6763, allocations: 8.031 kB / 0.8887 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.6781, allocations: 318.2 kB / 0.889 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.6796, allocations: 0.8591 MB / 0.8899 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.6797, allocations: 67.06 kB / 0.8899 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.6798, allocations: 84 kB / 0.89 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6813, allocations: 0.913 MB / 0.8909 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.6814, allocations: 3.938 kB / 0.8909 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.6815, allocations: 40 kB / 0.8909 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.6815, allocations: 33.98 kB / 0.891 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6828, allocations: 0.8198 MB / 0.8918 GB, free: 7.043 MB / 0.6544 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.005433/0.6883, allocations: 3.505 MB / 0.8952 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.689, allocations: 0.503 MB / 0.8957 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.6894, allocations: 292.7 kB / 0.896 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.6896, allocations: 109.5 kB / 0.8961 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.6897, allocations: 39 kB / 0.8961 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/0.6897, allocations: 0 / 0.8961 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003659/0.6934, allocations: 1.915 MB / 0.898 GB, free: 352 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.6934, allocations: 59.83 kB / 0.898 GB, free: 280 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.6943, allocations: 0.8019 MB / 0.8988 GB, free: 15.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.6944, allocations: 41.7 kB / 0.8989 GB, free: 15.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.6947, allocations: 475.3 kB / 0.8993 GB, free: 14.94 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.6948, allocations: 177.5 kB / 0.8995 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.695, allocations: 110.2 kB / 0.8996 GB, free: 14.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6951, allocations: 337.9 kB / 0.8999 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.6955, allocations: 238 kB / 0.9001 GB, free: 14.08 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.696, allocations: 361.1 kB / 0.9005 GB, free: 13.7 MB / 0.67 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.003399/0.6994, allocations: 1.534 MB / 0.902 GB, free: 12.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6994, allocations: 4 kB / 0.902 GB, free: 12.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001184/0.7006, allocations: 0.7809 MB / 0.9028 GB, free: 11.31 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7006, allocations: 10.34 kB / 0.9028 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.7006, allocations: 0 / 0.9028 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.7009, allocations: 97.66 kB / 0.9029 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.7015, allocations: 147.8 kB / 0.903 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.7042, allocations: 3.297 MB / 0.9062 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.705, allocations: 23.98 kB / 0.9062 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.705, allocations: 27.92 kB / 0.9063 GB, free: 7.43 MB / 0.67 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.0004028/0.7054, allocations: 301.6 kB / 0.9066 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.7056, allocations: 94.94 kB / 0.9066 GB, free: 7.031 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.7057, allocations: 104.7 kB / 0.9067 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.7058, allocations: 7.984 kB / 0.9068 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7058, allocations: 0 / 0.9068 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009534/0.7067, allocations: 0.8349 MB / 0.9076 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.7093, allocations: 1.79 MB / 0.9093 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7093, allocations: 4 kB / 0.9093 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.7098, allocations: 127.8 kB / 0.9094 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.71, allocations: 73.16 kB / 0.9095 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.7101, allocations: 19.94 kB / 0.9095 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.7115, allocations: 1.786 MB / 0.9113 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7115, allocations: 4 kB / 0.9113 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.7129, allocations: 1.073 MB / 0.9123 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.7133, allocations: 235.8 kB / 0.9125 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.7134, allocations: 16 kB / 0.9126 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.714, allocations: 31.23 kB / 0.9126 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.7141, allocations: 55.81 kB / 0.9126 GB, free: 484 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.7142, allocations: 27.98 kB / 0.9127 GB, free: 456 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006217/0.7148, allocations: 0.5576 MB / 0.9132 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7148, allocations: 0 / 0.9132 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007535/0.7156, allocations: 284 kB / 0.9135 GB, free: 15.61 MB / 0.6856 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.0003974/0.716, allocations: 195.2 kB / 0.9137 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.7173, allocations: 0.7928 MB / 0.9145 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7173, allocations: 4 kB / 0.9145 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.7178, allocations: 416.9 kB / 0.9149 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.7201, allocations: 0.6104 MB / 0.9154 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7227, allocations: 1.802 MB / 0.9172 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.7234, allocations: 1.091 MB / 0.9183 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006388/0.7241, allocations: 211.7 kB / 0.9185 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.7243, allocations: 63.44 kB / 0.9185 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.7243, allocations: 0 / 0.9185 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.03395/0.7582, allocations: 20.61 MB / 0.9387 GB, free: 6.043 MB / 0.7012 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)