Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001173/0.001173, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.001224/0.001224, allocations: 184.6 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 67.91 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6828/0.9615, allocations: 190.6 MB / 0.9702 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.972, allocations: 5.671 MB / 0.9757 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.9738, allocations: 39.81 kB / 0.9757 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.976, allocations: 0.5747 MB / 0.9763 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.9809, allocations: 1.824 MB / 0.9781 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.984, allocations: 1.182 MB / 0.9792 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003957/0.9879, allocations: 2.927 MB / 0.9821 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.9894, allocations: 0.942 MB / 0.983 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.9914, allocations: 1.051 MB / 0.984 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.9935, allocations: 0.9079 MB / 0.9849 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.9938, allocations: 108 kB / 0.985 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.997, allocations: 1.437 MB / 0.9864 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.9976, allocations: 454.8 kB / 0.9869 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.9987, allocations: 0.6573 MB / 0.9875 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/1.003, allocations: 2.131 MB / 0.9896 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.003, allocations: 0 / 0.9896 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/1.003, allocations: 3.938 kB / 0.9896 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.923e-05/1.003, allocations: 0 / 0.9896 GB, free: 7.93 MB / 0.7794 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.003066/1.006, allocations: 1.506 MB / 0.9911 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.006, allocations: 12.03 kB / 0.9911 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/1.008, allocations: 314.3 kB / 0.9914 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.009, allocations: 0.7959 MB / 0.9922 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/1.009, allocations: 69.98 kB / 0.9922 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.01, allocations: 84 kB / 0.9923 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/1.011, allocations: 0.917 MB / 0.9932 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.011, allocations: 4 kB / 0.9932 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.012, allocations: 35.94 kB / 0.9932 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/1.012, allocations: 36.31 kB / 0.9933 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/1.013, allocations: 0.8237 MB / 0.9941 GB, free: 3.242 MB / 0.7794 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.005505/1.019, allocations: 3.501 MB / 0.9975 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/1.019, allocations: 0.4965 MB / 0.998 GB, free: 15.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/1.02, allocations: 294 kB / 0.9983 GB, free: 14.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.02, allocations: 97.53 kB / 0.9984 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.02, allocations: 47 kB / 0.9984 GB, free: 14.55 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.755e-06/1.02, allocations: 0 / 0.9984 GB, free: 14.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.004014/1.024, allocations: 1.915 MB / 1 GB, free: 12.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.024, allocations: 63.84 kB / 1 GB, free: 12.47 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.025, allocations: 0.7862 MB / 1.001 GB, free: 11.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/1.025, allocations: 41.7 kB / 1.001 GB, free: 11.63 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/1.026, allocations: 471.4 kB / 1.002 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/1.026, allocations: 173.5 kB / 1.002 GB, free: 10.99 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.026, allocations: 114.2 kB / 1.002 GB, free: 10.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.026, allocations: 337.9 kB / 1.002 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/1.027, allocations: 241.2 kB / 1.002 GB, free: 10.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/1.027, allocations: 366.9 kB / 1.003 GB, free: 9.898 MB / 0.795 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.003693/1.031, allocations: 1.527 MB / 1.004 GB, free: 8.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.031, allocations: 4 kB / 1.004 GB, free: 8.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001333/1.032, allocations: 0.7728 MB / 1.005 GB, free: 7.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.032, allocations: 9.719 kB / 1.005 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.032, allocations: 16.27 kB / 1.005 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/1.033, allocations: 89.66 kB / 1.005 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/1.033, allocations: 146.2 kB / 1.005 GB, free: 7.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/1.036, allocations: 3.299 MB / 1.008 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/1.037, allocations: 29.75 kB / 1.009 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/1.037, allocations: 27.94 kB / 1.009 GB, free: 3.648 MB / 0.795 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004595/1.038, allocations: 298.7 kB / 1.009 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/1.038, allocations: 94.95 kB / 1.009 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.038, allocations: 100.5 kB / 1.009 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.038, allocations: 6.875 kB / 1.009 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.038, allocations: 4 kB / 1.009 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/1.039, allocations: 0.8388 MB / 1.01 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/1.042, allocations: 1.795 MB / 1.012 GB, free: 324 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.042, allocations: 4 kB / 1.012 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/1.043, allocations: 131.8 kB / 1.012 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/1.043, allocations: 60.81 kB / 1.012 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/1.043, allocations: 15.98 kB / 1.012 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.045, allocations: 1.797 MB / 1.014 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.045, allocations: 4 kB / 1.014 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.047, allocations: 1.085 MB / 1.015 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.047, allocations: 243.8 kB / 1.015 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.047, allocations: 8 kB / 1.015 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/1.048, allocations: 34 kB / 1.015 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.048, allocations: 51.89 kB / 1.015 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.296e-05/1.048, allocations: 27.98 kB / 1.015 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009108/1.049, allocations: 0.5498 MB / 1.016 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0.75 kB / 1.016 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001271/1.051, allocations: 280 kB / 1.016 GB, free: 11.84 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (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.000602/1.051, allocations: 205.3 kB / 1.016 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001407/1.053, allocations: 0.8101 MB / 1.017 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.053, allocations: 0 / 1.017 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/1.053, allocations: 414.1 kB / 1.017 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.056, allocations: 0.604 MB / 1.018 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/1.059, allocations: 1.779 MB / 1.019 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/1.06, allocations: 1.083 MB / 1.021 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008039/1.061, allocations: 208.6 kB / 1.021 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/1.061, allocations: 67.44 kB / 1.021 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/1.061, allocations: 3.938 kB / 1.021 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.03321/1.094, allocations: 20.63 MB / 1.041 GB, free: 2.379 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)