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.008592/0.008592, allocations: 100 kB / 15.73 MB, free: 6.016 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.001725/0.001725, allocations: 187.6 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 287.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003345/0.003346, allocations: 95.86 kB / 0.6815 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4374, allocations: 86.97 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1927/0.6301, allocations: 190.6 MB / 0.9525 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4056/1.036, allocations: 5.725 MB / 0.9581 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.037, allocations: 41.88 kB / 0.9582 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.038, allocations: 0.5771 MB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003621/1.042, allocations: 1.623 MB / 0.9603 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/1.045, allocations: 1.219 MB / 0.9615 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003238/1.048, allocations: 2.557 MB / 0.964 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.05, allocations: 0.8773 MB / 0.9649 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.051, allocations: 1.048 MB / 0.9659 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/1.053, allocations: 0.8096 MB / 0.9667 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/1.053, allocations: 96.59 kB / 0.9668 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/1.056, allocations: 1.543 MB / 0.9683 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/1.056, allocations: 409.5 kB / 0.9687 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006928/1.057, allocations: 0.5883 MB / 0.9692 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/1.06, allocations: 2.029 MB / 0.9712 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.06, allocations: 2.656 kB / 0.9712 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/1.06, allocations: 1.984 kB / 0.9712 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.06, allocations: 0 / 0.9712 GB, free: 1.566 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.002244/1.062, allocations: 1.465 MB / 0.9727 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.062, allocations: 8.062 kB / 0.9727 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/1.065, allocations: 424 kB / 0.9731 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.066, allocations: 0.8046 MB / 0.9739 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/1.066, allocations: 61.22 kB / 0.9739 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.066, allocations: 79.28 kB / 0.974 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/1.068, allocations: 0.9835 MB / 0.9749 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.068, allocations: 0.9375 kB / 0.9749 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/1.068, allocations: 32.91 kB / 0.975 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.068, allocations: 27.22 kB / 0.975 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.07, allocations: 0.8742 MB / 0.9759 GB, free: 16.29 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.005444/1.075, allocations: 3.496 MB / 0.9793 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.077, allocations: 0.6068 MB / 0.9799 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/1.077, allocations: 336.2 kB / 0.9802 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.077, allocations: 97.94 kB / 0.9803 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.078, allocations: 43.59 kB / 0.9803 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.804e-06/1.078, allocations: 4.062 kB / 0.9803 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007202/1.085, allocations: 2.408 MB / 0.9827 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.085, allocations: 56.84 kB / 0.9827 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/1.086, allocations: 0.793 MB / 0.9835 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/1.086, allocations: 38.8 kB / 0.9835 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/1.086, allocations: 454.2 kB / 0.984 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.086, allocations: 153.4 kB / 0.9841 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.086, allocations: 110.8 kB / 0.9842 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.086, allocations: 324.8 kB / 0.9845 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/1.087, allocations: 302.6 kB / 0.9848 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/1.088, allocations: 413.5 kB / 0.9852 GB, free: 13.3 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.004782/1.093, allocations: 1.873 MB / 0.987 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.093, allocations: 0 / 0.987 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002839/1.095, allocations: 1.042 MB / 0.9881 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.095, allocations: 5.25 kB / 0.9881 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.095, allocations: 4.25 kB / 0.9881 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/1.096, allocations: 187.8 kB / 0.9883 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/1.097, allocations: 144.8 kB / 0.9884 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/1.1, allocations: 2.237 MB / 0.9906 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009043/1.101, allocations: 58.23 kB / 0.9906 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/1.101, allocations: 21.84 kB / 0.9907 GB, free: 11.62 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.0004143/1.102, allocations: 273 kB / 0.9909 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.102, allocations: 98.58 kB / 0.991 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/1.102, allocations: 96.56 kB / 0.9911 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.102, allocations: 4.344 kB / 0.9911 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.102, allocations: 0 / 0.9911 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002581/1.105, allocations: 0.8949 MB / 0.992 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/1.109, allocations: 2.103 MB / 0.994 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.109, allocations: 8.688 kB / 0.994 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/1.11, allocations: 119.7 kB / 0.9942 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/1.11, allocations: 190.7 kB / 0.9943 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.111, allocations: 14.12 kB / 0.9944 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/1.114, allocations: 2.188 MB / 0.9965 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.114, allocations: 3.125 kB / 0.9965 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/1.117, allocations: 1.421 MB / 0.9979 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.118, allocations: 246.2 kB / 0.9981 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.118, allocations: 8.531 kB / 0.9981 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/1.119, allocations: 60.31 kB / 0.9982 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/1.119, allocations: 44.73 kB / 0.9982 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/1.119, allocations: 24.88 kB / 0.9982 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005913/1.119, allocations: 0.5548 MB / 0.9988 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 0 / 0.9988 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008551/1.12, allocations: 272.3 kB / 0.999 GB, free: 8.824 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.000428/1.121, allocations: 215.6 kB / 0.9993 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001832/1.123, allocations: 0.8083 MB / 1 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.123, allocations: 3.406 kB / 1 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008592/1.123, allocations: 461.9 kB / 1 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.126, allocations: 0.5406 MB / 1.001 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/1.13, allocations: 1.928 MB / 1.003 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/1.13, allocations: 1.047 MB / 1.004 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007194/1.131, allocations: 200.9 kB / 1.004 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/1.131, allocations: 63.69 kB / 1.004 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.131, allocations: 3.094 kB / 1.004 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of Templates: time 0.03348/1.165, allocations: 20.8 MB / 1.024 GB, free: 224 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)