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.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001554/0.001554, allocations: 66.06 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2796, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.741/1.021, allocations: 190.6 MB / 0.9694 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009761/1.03, allocations: 5.683 MB / 0.975 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.033, allocations: 38.84 kB / 0.975 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/1.035, allocations: 0.5777 MB / 0.9756 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/1.041, allocations: 1.826 MB / 0.9774 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/1.044, allocations: 1.171 MB / 0.9785 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005504/1.05, allocations: 2.927 MB / 0.9814 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/1.052, allocations: 0.9534 MB / 0.9823 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/1.054, allocations: 1.04 MB / 0.9833 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.057, allocations: 0.9118 MB / 0.9842 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.057, allocations: 107.2 kB / 0.9843 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/1.061, allocations: 1.426 MB / 0.9857 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/1.061, allocations: 456.2 kB / 0.9861 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.062, allocations: 0.6566 MB / 0.9868 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/1.066, allocations: 2.115 MB / 0.9888 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/1.066, allocations: 6.641 kB / 0.9889 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/1.066, allocations: 0 / 0.9889 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.909e-05/1.066, allocations: 0 / 0.9889 GB, free: 9.258 MB / 0.7325 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.002865/1.069, allocations: 1.499 MB / 0.9903 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.069, allocations: 13.42 kB / 0.9903 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/1.071, allocations: 310.7 kB / 0.9906 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.073, allocations: 0.8107 MB / 0.9914 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/1.073, allocations: 65.28 kB / 0.9915 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.073, allocations: 83.69 kB / 0.9916 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/1.074, allocations: 0.9157 MB / 0.9925 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.075, allocations: 2.094 kB / 0.9925 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/1.075, allocations: 39.94 kB / 0.9925 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/1.075, allocations: 31.53 kB / 0.9925 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.076, allocations: 0.8349 MB / 0.9933 GB, free: 6.367 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.005918/1.082, allocations: 3.527 MB / 0.9968 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/1.083, allocations: 0.4949 MB / 0.9973 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/1.083, allocations: 300.7 kB / 0.9976 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.084, allocations: 105.2 kB / 0.9977 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/1.084, allocations: 39.84 kB / 0.9977 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.796e-06/1.084, allocations: 0 / 0.9977 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.004412/1.088, allocations: 1.919 MB / 0.9996 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.088, allocations: 57.41 kB / 0.9996 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.089, allocations: 0.797 MB / 1 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/1.089, allocations: 38.48 kB / 1 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/1.09, allocations: 472.6 kB / 1.001 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.09, allocations: 171.5 kB / 1.001 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.09, allocations: 116.7 kB / 1.001 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.09, allocations: 330.8 kB / 1.001 GB, free: 308 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/1.091, allocations: 241.4 kB / 1.002 GB, free: 188 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/1.091, allocations: 360.9 kB / 1.002 GB, free: 15.93 MB / 0.7481 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.004015/1.095, allocations: 1.535 MB / 1.004 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.095, allocations: 0 / 1.004 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001679/1.097, allocations: 0.7862 MB / 1.004 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.097, allocations: 5.531 kB / 1.004 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.097, allocations: 4.719 kB / 1.004 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/1.097, allocations: 95.59 kB / 1.004 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/1.098, allocations: 142 kB / 1.005 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/1.101, allocations: 3.302 MB / 1.008 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/1.102, allocations: 22.23 kB / 1.008 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/1.102, allocations: 29.28 kB / 1.008 GB, free: 11.34 MB / 0.7481 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.0005429/1.103, allocations: 299.4 kB / 1.008 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.103, allocations: 94.59 kB / 1.008 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/1.103, allocations: 102.2 kB / 1.008 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.103, allocations: 7.5 kB / 1.008 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.103, allocations: 0 / 1.008 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/1.104, allocations: 0.8407 MB / 1.009 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/1.107, allocations: 1.789 MB / 1.011 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.107, allocations: 2.781 kB / 1.011 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/1.107, allocations: 129.8 kB / 1.011 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.108, allocations: 76.25 kB / 1.011 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/1.108, allocations: 15.81 kB / 1.011 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/1.109, allocations: 1.786 MB / 1.013 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.109, allocations: 8.656 kB / 1.013 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.111, allocations: 1.091 MB / 1.014 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/1.111, allocations: 236.8 kB / 1.014 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.112, allocations: 16 kB / 1.014 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/1.112, allocations: 39.3 kB / 1.014 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.112, allocations: 44.08 kB / 1.014 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/1.112, allocations: 27.7 kB / 1.014 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006901/1.113, allocations: 0.5552 MB / 1.015 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.113, allocations: 0 / 1.015 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000914/1.114, allocations: 289 kB / 1.015 GB, free: 5.969 MB / 0.7481 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.0004836/1.115, allocations: 187.4 kB / 1.015 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.116, allocations: 0.867 MB / 1.016 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.116, allocations: 1.969 kB / 1.016 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.117, allocations: 408.9 kB / 1.016 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/1.119, allocations: 0.6052 MB / 1.017 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/1.122, allocations: 1.803 MB / 1.019 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/1.123, allocations: 1.085 MB / 1.02 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001099/1.124, allocations: 210.2 kB / 1.02 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.124, allocations: 69.09 kB / 1.02 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/1.124, allocations: 0 / 1.02 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of Templates: time 0.03981/1.164, allocations: 20.65 MB / 1.04 GB, free: 0.6758 MB / 0.7637 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)