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.00152/0.00152, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001682/0.001682, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002318/0.002318, allocations: 299.8 kB / 291.5 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.9838/0.9838, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 95.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4467, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1871/0.6338, allocations: 190.6 MB / 0.9532 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4433/1.077, allocations: 5.741 MB / 0.9588 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.079, allocations: 41.66 kB / 0.9588 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/1.08, allocations: 0.5737 MB / 0.9594 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004867/1.085, allocations: 1.847 MB / 0.9612 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/1.089, allocations: 1.192 MB / 0.9623 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004465/1.093, allocations: 2.941 MB / 0.9652 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/1.095, allocations: 0.956 MB / 0.9661 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/1.097, allocations: 1.067 MB / 0.9672 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/1.099, allocations: 0.9091 MB / 0.9681 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/1.099, allocations: 109.3 kB / 0.9682 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/1.102, allocations: 1.429 MB / 0.9696 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005058/1.103, allocations: 458.4 kB / 0.97 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008018/1.104, allocations: 0.6575 MB / 0.9707 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/1.107, allocations: 2.141 MB / 0.9727 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.107, allocations: 2.469 kB / 0.9727 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/1.107, allocations: 0 / 0.9727 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.107, allocations: 2.625 kB / 0.9727 GB, free: 1.605 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002258/1.109, allocations: 1.512 MB / 0.9742 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.109, allocations: 11.59 kB / 0.9742 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.111, allocations: 313.6 kB / 0.9745 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.112, allocations: 0.8602 MB / 0.9754 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/1.112, allocations: 61.34 kB / 0.9754 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.112, allocations: 84.25 kB / 0.9755 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.114, allocations: 0.9104 MB / 0.9764 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.114, allocations: 1.031 kB / 0.9764 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/1.114, allocations: 36.25 kB / 0.9764 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/1.114, allocations: 31.59 kB / 0.9765 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/1.115, allocations: 0.8309 MB / 0.9773 GB, free: 16.38 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.004496/1.12, allocations: 3.515 MB / 0.9807 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/1.12, allocations: 0.4988 MB / 0.9812 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/1.121, allocations: 293.2 kB / 0.9815 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.121, allocations: 99.84 kB / 0.9816 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.121, allocations: 43.5 kB / 0.9816 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.406e-06/1.121, allocations: 0.9062 kB / 0.9816 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003485/1.124, allocations: 1.915 MB / 0.9835 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.124, allocations: 59.53 kB / 0.9835 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/1.125, allocations: 0.8045 MB / 0.9843 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/1.125, allocations: 37.61 kB / 0.9844 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/1.126, allocations: 478.5 kB / 0.9848 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.126, allocations: 169 kB / 0.985 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.126, allocations: 116.3 kB / 0.9851 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.126, allocations: 335.6 kB / 0.9854 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/1.126, allocations: 242.4 kB / 0.9856 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/1.127, allocations: 357.4 kB / 0.986 GB, free: 13.26 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.003296/1.13, allocations: 1.533 MB / 0.9875 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.13, allocations: 0 / 0.9875 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001172/1.131, allocations: 0.7856 MB / 0.9883 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.131, allocations: 9.969 kB / 0.9883 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.131, allocations: 3.375 kB / 0.9883 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/1.132, allocations: 93.25 kB / 0.9884 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/1.132, allocations: 141.3 kB / 0.9885 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/1.135, allocations: 3.3 MB / 0.9917 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/1.136, allocations: 29.7 kB / 0.9917 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/1.136, allocations: 23.22 kB / 0.9918 GB, free: 10.23 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 (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.0004996/1.136, allocations: 309.1 kB / 0.9921 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.136, allocations: 92.69 kB / 0.9921 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/1.137, allocations: 99.05 kB / 0.9922 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.137, allocations: 3.219 kB / 0.9922 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.137, allocations: 0.8125 kB / 0.9922 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009149/1.138, allocations: 0.846 MB / 0.9931 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/1.14, allocations: 1.791 MB / 0.9948 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.14, allocations: 4.281 kB / 0.9948 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/1.141, allocations: 128.9 kB / 0.9949 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/1.141, allocations: 71.28 kB / 0.995 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/1.141, allocations: 15.97 kB / 0.995 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/1.142, allocations: 1.781 MB / 0.9968 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.142, allocations: 5.531 kB / 0.9968 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/1.144, allocations: 1.066 MB / 0.9978 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/1.144, allocations: 239.3 kB / 0.998 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.144, allocations: 12.81 kB / 0.9981 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.145, allocations: 30.11 kB / 0.9981 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.145, allocations: 48.69 kB / 0.9981 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/1.145, allocations: 29.95 kB / 0.9982 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006548/1.146, allocations: 0.563 MB / 0.9987 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.146, allocations: 4.656 kB / 0.9987 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009075/1.147, allocations: 277.3 kB / 0.999 GB, free: 7.289 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 (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.0004786/1.147, allocations: 190 kB / 0.9992 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.149, allocations: 0.8119 MB / 0.9999 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.149, allocations: 0 / 0.9999 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/1.149, allocations: 407.3 kB / 1 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.152, allocations: 0.612 MB / 1.001 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/1.154, allocations: 1.865 MB / 1.003 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/1.155, allocations: 1.087 MB / 1.004 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/1.155, allocations: 71.94 kB / 1.004 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.155, allocations: 0.9375 kB / 1.004 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.02786/1.183, allocations: 22 MB / 1.025 GB, free: 14.73 MB / 0.7481 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)