Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 112.6 kB / 16.37 MB, free: 6 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.001178/0.001178, allocations: 196 kB / 17.31 MB, free: 5.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.295/1.295, 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.002062/0.002062, allocations: 280 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8906/0.8906, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001763, allocations: 101.2 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1485, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.443/0.5916, allocations: 190.6 MB / 0.8677 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008494/0.6001, allocations: 5.735 MB / 0.8733 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.6011, allocations: 47.69 kB / 0.8733 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.6025, allocations: 0.5747 MB / 0.8739 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.606, allocations: 1.618 MB / 0.8755 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.6088, allocations: 1.223 MB / 0.8767 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.6116, allocations: 2.571 MB / 0.8792 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.6126, allocations: 0.8788 MB / 0.88 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.6141, allocations: 1.047 MB / 0.8811 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.6154, allocations: 0.8081 MB / 0.8819 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.6156, allocations: 96 kB / 0.882 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.618, allocations: 1.543 MB / 0.8835 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.6184, allocations: 398.9 kB / 0.8838 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.6189, allocations: 0.5988 MB / 0.8844 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.621, allocations: 2.022 MB / 0.8864 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6211, allocations: 0 / 0.8864 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6211, allocations: 0 / 0.8864 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6211, allocations: 0 / 0.8864 GB, free: 12.7 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002028/0.6231, allocations: 1.43 MB / 0.8878 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.6232, allocations: 8.031 kB / 0.8878 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.6256, allocations: 414.3 kB / 0.8882 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.627, allocations: 0.8038 MB / 0.889 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.627, allocations: 54 kB / 0.889 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6271, allocations: 79.94 kB / 0.8891 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.6288, allocations: 0.9827 MB / 0.8901 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.6288, allocations: 0 / 0.8901 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.6289, allocations: 32 kB / 0.8901 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.6289, allocations: 26 kB / 0.8901 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.6307, allocations: 0.8743 MB / 0.891 GB, free: 7.891 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.005191/0.6359, allocations: 3.486 MB / 0.8944 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.6373, allocations: 0.6055 MB / 0.895 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.638, allocations: 330.4 kB / 0.8953 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6382, allocations: 105.4 kB / 0.8954 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.6382, allocations: 39.22 kB / 0.8954 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.6382, allocations: 3.938 kB / 0.8954 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.007027/0.6453, allocations: 2.392 MB / 0.8978 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6453, allocations: 55.41 kB / 0.8978 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.6462, allocations: 0.798 MB / 0.8986 GB, free: 15.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.6462, allocations: 37.7 kB / 0.8986 GB, free: 15.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.6465, allocations: 451.7 kB / 0.8991 GB, free: 15.28 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.6466, allocations: 141.9 kB / 0.8992 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.6468, allocations: 106.1 kB / 0.8993 GB, free: 15.03 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.6469, allocations: 326 kB / 0.8996 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.6476, allocations: 304.8 kB / 0.8999 GB, free: 14.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.6484, allocations: 408.1 kB / 0.9003 GB, free: 13.98 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.004719/0.6531, allocations: 1.882 MB / 0.9021 GB, free: 12.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6531, allocations: 0 / 0.9021 GB, free: 12.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002819/0.6559, allocations: 1.034 MB / 0.9031 GB, free: 11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.656, allocations: 4 kB / 0.9031 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.656, allocations: 4 kB / 0.9031 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.6565, allocations: 193.6 kB / 0.9033 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.6572, allocations: 147.7 kB / 0.9035 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.6607, allocations: 2.232 MB / 0.9057 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.6615, allocations: 56 kB / 0.9057 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.6616, allocations: 20 kB / 0.9057 GB, free: 8.211 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0003665/0.6619, allocations: 269.6 kB / 0.906 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6621, allocations: 94.91 kB / 0.9061 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.6622, allocations: 96.23 kB / 0.9062 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6622, allocations: 4 kB / 0.9062 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6623, allocations: 0 / 0.9062 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.6648, allocations: 0.8986 MB / 0.907 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.6695, allocations: 2.103 MB / 0.9091 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6695, allocations: 4.188 kB / 0.9091 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.6701, allocations: 127.8 kB / 0.9092 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.6706, allocations: 196.7 kB / 0.9094 GB, free: 4.285 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.6706, allocations: 16 kB / 0.9094 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.6739, allocations: 2.179 MB / 0.9116 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6739, allocations: 4 kB / 0.9116 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.6773, allocations: 1.421 MB / 0.9129 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.6778, allocations: 235.9 kB / 0.9132 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6779, allocations: 15.98 kB / 0.9132 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.6787, allocations: 64.17 kB / 0.9133 GB, free: 136 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.6788, allocations: 39.78 kB / 0.9133 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.6788, allocations: 35.97 kB / 0.9133 GB, free: 60 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006401/0.6795, allocations: 0.5537 MB / 0.9139 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6795, allocations: 0 / 0.9139 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007641/0.6802, allocations: 276 kB / 0.9141 GB, free: 15.24 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 (37): * Single equations (assignments): 36 * 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.0003902/0.6806, allocations: 210.6 kB / 0.9143 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.6825, allocations: 0.8092 MB / 0.9151 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6825, allocations: 4 kB / 0.9151 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.6833, allocations: 455.5 kB / 0.9156 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.6853, allocations: 0.5364 MB / 0.9161 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.6891, allocations: 1.896 MB / 0.9179 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.6896, allocations: 1.044 MB / 0.919 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005813/0.6902, allocations: 207.2 kB / 0.9191 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.6904, allocations: 71.36 kB / 0.9192 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.6904, allocations: 0 / 0.9192 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of Templates: time 0.02834/0.7188, allocations: 20.64 MB / 0.9394 GB, free: 5.602 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)