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.001272/0.001272, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001273/0.001273, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 299.9 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8804/0.8804, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 90.31 kB / 0.5953 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1565, allocations: 86.98 MB / 0.6803 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4617/0.6182, allocations: 188.1 MB / 0.864 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008477/0.6268, allocations: 5.685 MB / 0.8695 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.6278, allocations: 39.75 kB / 0.8696 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6292, allocations: 0.5131 MB / 0.8701 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.6325, allocations: 1.529 MB / 0.8715 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.6352, allocations: 1.104 MB / 0.8726 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.6381, allocations: 2.566 MB / 0.8751 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.6392, allocations: 0.8586 MB / 0.876 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.6409, allocations: 1.047 MB / 0.877 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.6425, allocations: 0.8626 MB / 0.8778 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.6426, allocations: 96 kB / 0.8779 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.6452, allocations: 1.609 MB / 0.8795 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.6456, allocations: 410.9 kB / 0.8799 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.6462, allocations: 0.5911 MB / 0.8805 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.6479, allocations: 1.516 MB / 0.8819 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6479, allocations: 0 / 0.8819 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6479, allocations: 0 / 0.8819 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6479, allocations: 0 / 0.8819 GB, free: 0.8828 MB / 0.6387 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.002152/0.6501, allocations: 1.442 MB / 0.8834 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6501, allocations: 8.031 kB / 0.8834 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.6527, allocations: 418.3 kB / 0.8838 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.6539, allocations: 0.7609 MB / 0.8845 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.6543, allocations: 117.9 kB / 0.8846 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.6544, allocations: 72 kB / 0.8847 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.6562, allocations: 1.002 MB / 0.8857 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.6562, allocations: 4 kB / 0.8857 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.6563, allocations: 32 kB / 0.8857 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.6564, allocations: 26 kB / 0.8857 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.6582, allocations: 0.8822 MB / 0.8866 GB, free: 12.02 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.005531/0.6638, allocations: 3.505 MB / 0.89 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.6654, allocations: 0.6204 MB / 0.8906 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.6661, allocations: 337.3 kB / 0.8909 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.6663, allocations: 101.8 kB / 0.891 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6663, allocations: 46.5 kB / 0.8911 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.324e-06/0.6663, allocations: 0 / 0.8911 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0078/0.6742, allocations: 2.415 MB / 0.8934 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.6742, allocations: 63.33 kB / 0.8935 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.6751, allocations: 0.7941 MB / 0.8943 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.6752, allocations: 33.7 kB / 0.8943 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.6755, allocations: 459.6 kB / 0.8947 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6756, allocations: 145.9 kB / 0.8949 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.6758, allocations: 106.1 kB / 0.895 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6759, allocations: 326 kB / 0.8953 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.6767, allocations: 308.9 kB / 0.8956 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.6775, allocations: 408.1 kB / 0.896 GB, free: 2.027 MB / 0.6544 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.005035/0.6825, allocations: 1.909 MB / 0.8978 GB, free: 68 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6826, allocations: 0 / 0.8978 GB, free: 68 kB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003112/0.6857, allocations: 1.042 MB / 0.8989 GB, free: 15.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6857, allocations: 11.98 kB / 0.8989 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6857, allocations: 4 kB / 0.8989 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.6863, allocations: 188.7 kB / 0.8991 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.687, allocations: 143.8 kB / 0.8992 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.6907, allocations: 2.24 MB / 0.9014 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6917, allocations: 87.7 kB / 0.9015 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.6917, allocations: 16 kB / 0.9015 GB, free: 12.19 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.0004118/0.6922, allocations: 278.5 kB / 0.9017 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6923, allocations: 90.91 kB / 0.9018 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.6925, allocations: 96.23 kB / 0.9019 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6925, allocations: 4 kB / 0.9019 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6925, allocations: 0 / 0.9019 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0027/0.6952, allocations: 0.9064 MB / 0.9028 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.7002, allocations: 2.117 MB / 0.9049 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7002, allocations: 7.938 kB / 0.9049 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.7008, allocations: 137.6 kB / 0.905 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.7014, allocations: 184.7 kB / 0.9052 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.7014, allocations: 20 kB / 0.9052 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.7048, allocations: 2.183 MB / 0.9073 GB, free: 5.891 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.7048, allocations: 4 kB / 0.9073 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.7084, allocations: 1.432 MB / 0.9087 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.7088, allocations: 240 kB / 0.909 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.7089, allocations: 15.98 kB / 0.909 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/0.7098, allocations: 91.75 kB / 0.9091 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.7099, allocations: 47.81 kB / 0.9091 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.71, allocations: 23.98 kB / 0.9091 GB, free: 3.965 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006589/0.7106, allocations: 0.5576 MB / 0.9097 GB, free: 3.414 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7106, allocations: 0 / 0.9097 GB, free: 3.414 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008606/0.7115, allocations: 276 kB / 0.91 GB, free: 3.145 MB / 0.67 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.0004841/0.712, allocations: 212.3 kB / 0.9102 GB, free: 2.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.714, allocations: 0.8445 MB / 0.911 GB, free: 2.086 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.714, allocations: 0 / 0.911 GB, free: 2.086 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008885/0.7149, allocations: 467.4 kB / 0.9114 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.7171, allocations: 0.5457 MB / 0.912 GB, free: 1.078 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7214, allocations: 2.294 MB / 0.9142 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.7219, allocations: 1.04 MB / 0.9152 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.7222, allocations: 67.42 kB / 0.9153 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.7222, allocations: 0 / 0.9153 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of Templates: time 0.02299/0.7452, allocations: 18.92 MB / 0.9338 GB, free: 10.82 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)