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.0009382/0.0009383, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009229/0.0009228, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 274 kB / 291.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9496/0.9496, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 12.66 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4244/0.5587, allocations: 173.4 MB / 0.8538 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00804/0.5667, allocations: 5.406 MB / 0.8591 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/0.5677, allocations: 31.81 kB / 0.8591 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.5688, allocations: 408.8 kB / 0.8595 GB, free: 6.492 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003278/0.5721, allocations: 1.374 MB / 0.8608 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.5744, allocations: 0.8511 MB / 0.8617 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.5778, allocations: 3.451 MB / 0.865 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.5789, allocations: 0.712 MB / 0.8657 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.5805, allocations: 0.8743 MB / 0.8666 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.5817, allocations: 0.8679 MB / 0.8674 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.5818, allocations: 44.19 kB / 0.8675 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.5837, allocations: 0.699 MB / 0.8682 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.5841, allocations: 391 kB / 0.8685 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.5844, allocations: 258.4 kB / 0.8688 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.586, allocations: 1.478 MB / 0.8702 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.586, allocations: 0 / 0.8702 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.586, allocations: 4 kB / 0.8702 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.586, allocations: 0 / 0.8702 GB, free: 15.75 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.002033/0.5881, allocations: 1.304 MB / 0.8715 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.5881, allocations: 7.844 kB / 0.8715 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.59, allocations: 318.2 kB / 0.8718 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5912, allocations: 0.7849 MB / 0.8726 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.5913, allocations: 61.78 kB / 0.8726 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5914, allocations: 83.22 kB / 0.8727 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.593, allocations: 0.918 MB / 0.8736 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.593, allocations: 0 / 0.8736 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.5931, allocations: 42.7 kB / 0.8737 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.5931, allocations: 37.2 kB / 0.8737 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.5945, allocations: 0.8296 MB / 0.8745 GB, free: 12.99 MB / 0.5919 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.004998/0.5995, allocations: 3.537 MB / 0.878 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.6003, allocations: 0.4894 MB / 0.8784 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.6007, allocations: 299.3 kB / 0.8787 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.6009, allocations: 101.5 kB / 0.8788 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.601, allocations: 54.94 kB / 0.8789 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.601, allocations: 0 / 0.8789 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003853/0.6048, allocations: 1.938 MB / 0.8808 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.6049, allocations: 63.84 kB / 0.8808 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.6058, allocations: 0.8019 MB / 0.8816 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6059, allocations: 37.7 kB / 0.8816 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.6062, allocations: 471.4 kB / 0.8821 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.6064, allocations: 177.5 kB / 0.8823 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.6064, allocations: 8 kB / 0.8823 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6065, allocations: 329.9 kB / 0.8826 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.607, allocations: 249.2 kB / 0.8828 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.6075, allocations: 361.2 kB / 0.8832 GB, free: 4.336 MB / 0.5919 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.002727/0.6102, allocations: 1.003 MB / 0.8841 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6102, allocations: 4 kB / 0.8841 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001341/0.6116, allocations: 0.7845 MB / 0.8849 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6116, allocations: 8.344 kB / 0.8849 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6116, allocations: 11.94 kB / 0.8849 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.6119, allocations: 97.64 kB / 0.885 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.6126, allocations: 151.8 kB / 0.8852 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.6153, allocations: 3.069 MB / 0.8882 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.6161, allocations: 59.83 kB / 0.8882 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.6162, allocations: 23.98 kB / 0.8882 GB, free: 14.83 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00046/0.6166, allocations: 297.6 kB / 0.8885 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.6168, allocations: 94.95 kB / 0.8886 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.617, allocations: 100.7 kB / 0.8887 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.617, allocations: 4.188 kB / 0.8887 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.617, allocations: 7.938 kB / 0.8887 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.618, allocations: 0.8505 MB / 0.8896 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.6208, allocations: 1.811 MB / 0.8913 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.6208, allocations: 4.406 kB / 0.8913 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.6214, allocations: 139.8 kB / 0.8915 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.6216, allocations: 64.81 kB / 0.8915 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.6217, allocations: 20 kB / 0.8915 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6232, allocations: 1.644 MB / 0.8932 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6232, allocations: 8.062 kB / 0.8932 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.6247, allocations: 1.084 MB / 0.8942 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.6251, allocations: 236 kB / 0.8944 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6252, allocations: 16.19 kB / 0.8945 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.6259, allocations: 73.36 kB / 0.8945 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.626, allocations: 51.83 kB / 0.8946 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.6261, allocations: 31.98 kB / 0.8946 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006897/0.6268, allocations: 0.5459 MB / 0.8951 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6268, allocations: 0 / 0.8951 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000861/0.6277, allocations: 291.9 kB / 0.8954 GB, free: 7.082 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003734/0.6281, allocations: 190.1 kB / 0.8956 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.6293, allocations: 0.8041 MB / 0.8964 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6293, allocations: 4.688 kB / 0.8964 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.6299, allocations: 414.4 kB / 0.8968 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.6324, allocations: 0.5791 MB / 0.8974 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.6352, allocations: 2.162 MB / 0.8995 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.6358, allocations: 1.087 MB / 0.9005 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008248/0.6366, allocations: 211.7 kB / 0.9007 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6368, allocations: 67.44 kB / 0.9008 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.6368, allocations: 7.938 kB / 0.9008 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.02965/0.6665, allocations: 18.92 MB / 0.9193 GB, free: 14.8 MB / 0.6387 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)