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.00673/0.00673, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001689/0.00169, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 301.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.964/0.964, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 96.06 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4113, allocations: 86.97 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1932/0.6045, allocations: 190.6 MB / 0.9525 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4224/1.027, allocations: 5.739 MB / 0.9581 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/1.028, allocations: 39.28 kB / 0.9582 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/1.03, allocations: 0.5802 MB / 0.9587 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004077/1.034, allocations: 1.618 MB / 0.9603 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003293/1.037, allocations: 1.211 MB / 0.9615 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.041, allocations: 2.571 MB / 0.964 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/1.043, allocations: 0.8686 MB / 0.9649 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/1.045, allocations: 1.07 MB / 0.9659 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/1.047, allocations: 0.8196 MB / 0.9667 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/1.047, allocations: 95.88 kB / 0.9668 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/1.051, allocations: 1.532 MB / 0.9683 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/1.051, allocations: 409.6 kB / 0.9687 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009044/1.052, allocations: 0.5882 MB / 0.9693 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/1.056, allocations: 2.021 MB / 0.9712 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.056, allocations: 0.9062 kB / 0.9712 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/1.056, allocations: 3.188 kB / 0.9712 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.565e-05/1.056, allocations: 2.875 kB / 0.9712 GB, free: 1.59 MB / 0.7169 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.002571/1.058, allocations: 1.432 MB / 0.9726 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.058, allocations: 11.31 kB / 0.9726 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/1.061, allocations: 407.6 kB / 0.973 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.062, allocations: 0.8121 MB / 0.9738 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/1.063, allocations: 56.34 kB / 0.9739 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.063, allocations: 72.31 kB / 0.974 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.064, allocations: 0.9872 MB / 0.9749 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.064, allocations: 6.344 kB / 0.9749 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/1.065, allocations: 32.38 kB / 0.975 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/1.065, allocations: 30.09 kB / 0.975 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/1.066, allocations: 0.8725 MB / 0.9758 GB, free: 16.35 MB / 0.7325 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.005882/1.072, allocations: 3.473 MB / 0.9792 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.074, allocations: 0.6068 MB / 0.9798 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/1.074, allocations: 335.5 kB / 0.9801 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.075, allocations: 105.4 kB / 0.9802 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.075, allocations: 41.25 kB / 0.9803 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.425e-06/1.075, allocations: 0 / 0.9803 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007522/1.082, allocations: 2.395 MB / 0.9826 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.082, allocations: 57.72 kB / 0.9827 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/1.083, allocations: 0.7978 MB / 0.9834 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/1.083, allocations: 36.11 kB / 0.9835 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/1.083, allocations: 442.2 kB / 0.9839 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.084, allocations: 151.4 kB / 0.984 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.084, allocations: 104.8 kB / 0.9841 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.084, allocations: 326.1 kB / 0.9845 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/1.085, allocations: 302.6 kB / 0.9847 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/1.085, allocations: 410.8 kB / 0.9851 GB, free: 13.41 MB / 0.7325 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.004898/1.09, allocations: 1.878 MB / 0.987 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.09, allocations: 0 / 0.987 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002996/1.093, allocations: 1.03 MB / 0.988 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.093, allocations: 5.344 kB / 0.988 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.093, allocations: 3.719 kB / 0.988 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/1.094, allocations: 195.1 kB / 0.9882 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/1.095, allocations: 144.4 kB / 0.9883 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/1.098, allocations: 2.224 MB / 0.9905 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.099, allocations: 53.11 kB / 0.9905 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/1.1, allocations: 23.09 kB / 0.9906 GB, free: 11.73 MB / 0.7325 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.0005198/1.1, allocations: 276.6 kB / 0.9908 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.1, allocations: 96.16 kB / 0.9909 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/1.1, allocations: 98.73 kB / 0.991 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.1, allocations: 3.188 kB / 0.991 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.1, allocations: 0.9062 kB / 0.991 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002707/1.103, allocations: 0.8986 MB / 0.9919 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/1.108, allocations: 2.091 MB / 0.9939 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.108, allocations: 6.938 kB / 0.9939 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/1.109, allocations: 134.3 kB / 0.9941 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/1.109, allocations: 183 kB / 0.9942 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/1.109, allocations: 19.38 kB / 0.9943 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/1.113, allocations: 2.187 MB / 0.9964 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.113, allocations: 8.125 kB / 0.9964 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/1.116, allocations: 1.415 MB / 0.9978 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/1.117, allocations: 239.8 kB / 0.998 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.117, allocations: 11.41 kB / 0.998 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/1.118, allocations: 60.75 kB / 0.9981 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/1.118, allocations: 41.86 kB / 0.9981 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/1.118, allocations: 31.95 kB / 0.9982 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006245/1.118, allocations: 0.5561 MB / 0.9987 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.119, allocations: 4 kB / 0.9987 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008253/1.119, allocations: 269.2 kB / 0.999 GB, free: 8.941 MB / 0.7325 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.0004516/1.12, allocations: 202.3 kB / 0.9991 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.122, allocations: 0.8152 MB / 0.9999 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.122, allocations: 0 / 0.9999 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008709/1.123, allocations: 454.2 kB / 1 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.125, allocations: 0.547 MB / 1.001 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/1.129, allocations: 1.901 MB / 1.003 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/1.129, allocations: 1.037 MB / 1.004 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006658/1.13, allocations: 212.8 kB / 1.004 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.13, allocations: 67.62 kB / 1.004 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of SimCode: time 1.302e-06/1.13, allocations: 4 kB / 1.004 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of Templates: time 0.03257/1.163, allocations: 20.79 MB / 1.024 GB, free: 404 kB / 0.7325 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)