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.00577/0.00577, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001316/0.001316, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 287.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 99.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1851, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5267/0.7118, allocations: 190.6 MB / 0.9525 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009377/0.7212, allocations: 5.734 MB / 0.9581 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7223, allocations: 43.75 kB / 0.9582 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.7238, allocations: 0.5708 MB / 0.9587 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.7282, allocations: 1.847 MB / 0.9605 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.731, allocations: 1.199 MB / 0.9617 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.7347, allocations: 2.941 MB / 0.9646 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.7359, allocations: 0.9524 MB / 0.9655 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.7375, allocations: 1.043 MB / 0.9665 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.7391, allocations: 0.9149 MB / 0.9674 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7393, allocations: 108 kB / 0.9675 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.7422, allocations: 1.442 MB / 0.9689 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.7427, allocations: 450.8 kB / 0.9693 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006098/0.7433, allocations: 0.6534 MB / 0.97 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.7458, allocations: 2.148 MB / 0.9721 GB, free: 36 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7458, allocations: 4 kB / 0.9721 GB, free: 32 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7458, allocations: 0 / 0.9721 GB, free: 32 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.7459, allocations: 0 / 0.9721 GB, free: 32 kB / 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.002313/0.7482, allocations: 1.549 MB / 0.9736 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7482, allocations: 8.031 kB / 0.9736 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.7501, allocations: 327 kB / 0.9739 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.7513, allocations: 0.856 MB / 0.9748 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.7514, allocations: 66 kB / 0.9748 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.7515, allocations: 84 kB / 0.9749 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.753, allocations: 0.913 MB / 0.9758 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.753, allocations: 4 kB / 0.9758 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.7531, allocations: 36 kB / 0.9758 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.7532, allocations: 34 kB / 0.9759 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.7546, allocations: 0.8276 MB / 0.9767 GB, free: 11.23 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.004783/0.7593, allocations: 3.522 MB / 0.9801 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.7601, allocations: 0.4899 MB / 0.9806 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.7606, allocations: 302 kB / 0.9809 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7608, allocations: 101.5 kB / 0.981 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7608, allocations: 42.94 kB / 0.981 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.7608, allocations: 0 / 0.981 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003763/0.7646, allocations: 1.936 MB / 0.9829 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.7646, allocations: 55.84 kB / 0.983 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.7655, allocations: 0.8059 MB / 0.9837 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.7656, allocations: 37.7 kB / 0.9838 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.7659, allocations: 484.2 kB / 0.9842 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7661, allocations: 186.4 kB / 0.9844 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.7663, allocations: 110.3 kB / 0.9845 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7664, allocations: 333.9 kB / 0.9848 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.7668, allocations: 241.2 kB / 0.9851 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.7673, allocations: 357.2 kB / 0.9854 GB, free: 1.84 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.003554/0.7709, allocations: 1.538 MB / 0.9869 GB, free: 256 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7709, allocations: 0 / 0.9869 GB, free: 256 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001312/0.7722, allocations: 0.7928 MB / 0.9877 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.7722, allocations: 7.938 kB / 0.9877 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.7723, allocations: 4 kB / 0.9877 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.7726, allocations: 98.67 kB / 0.9878 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.7732, allocations: 139.8 kB / 0.9879 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.7762, allocations: 3.304 MB / 0.9912 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007211/0.7769, allocations: 23.98 kB / 0.9912 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.777, allocations: 27.94 kB / 0.9912 GB, free: 11.56 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.0004381/0.7774, allocations: 312.9 kB / 0.9915 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.7776, allocations: 91.44 kB / 0.9916 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.7778, allocations: 100.7 kB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7778, allocations: 7.984 kB / 0.9917 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7778, allocations: 4 kB / 0.9917 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.7788, allocations: 0.8388 MB / 0.9925 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.7815, allocations: 1.795 MB / 0.9943 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.7815, allocations: 4 kB / 0.9943 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.7821, allocations: 128.2 kB / 0.9944 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.7823, allocations: 64.81 kB / 0.9945 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.7824, allocations: 19.98 kB / 0.9945 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.784, allocations: 1.789 MB / 0.9962 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.784, allocations: 4 kB / 0.9962 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.7854, allocations: 1.066 MB / 0.9973 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.7858, allocations: 248.3 kB / 0.9975 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.7859, allocations: 16.05 kB / 0.9975 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.7865, allocations: 31.58 kB / 0.9975 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7866, allocations: 47.83 kB / 0.9976 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.7867, allocations: 27.98 kB / 0.9976 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006579/0.7874, allocations: 0.5615 MB / 0.9982 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7874, allocations: 4 kB / 0.9982 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007606/0.7881, allocations: 276 kB / 0.9984 GB, free: 3.746 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.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.0003909/0.7885, allocations: 204.3 kB / 0.9986 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.7898, allocations: 0.7968 MB / 0.9994 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7898, allocations: 0 / 0.9994 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.7903, allocations: 422.1 kB / 0.9998 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.7929, allocations: 0.6045 MB / 1 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.7954, allocations: 1.829 MB / 1.002 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.7961, allocations: 1.087 MB / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006551/0.7968, allocations: 215.7 kB / 1.003 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.797, allocations: 71.42 kB / 1.004 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of SimCode: time 3.51e-07/0.797, allocations: 0 / 1.004 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of Templates: time 0.03279/0.8298, allocations: 20.75 MB / 1.024 GB, free: 9.969 MB / 0.7794 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)