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.001701/0.001701, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001802/0.001802, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 289.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9907/0.9907, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 95.78 kB / 0.6822 GB, free: 6.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4761, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2217/0.6978, allocations: 191.1 MB / 0.9537 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.485/1.183, allocations: 5.736 MB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/1.184, allocations: 43 kB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/1.186, allocations: 0.6079 MB / 0.9599 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/1.19, allocations: 1.911 MB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/1.193, allocations: 1.198 MB / 0.963 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003942/1.197, allocations: 2.938 MB / 0.9658 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/1.199, allocations: 0.8138 MB / 0.9666 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/1.201, allocations: 1.101 MB / 0.9677 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.202, allocations: 0.9159 MB / 0.9686 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/1.203, allocations: 111.9 kB / 0.9687 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/1.206, allocations: 1.44 MB / 0.9701 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004802/1.206, allocations: 479.1 kB / 0.9706 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007641/1.207, allocations: 0.6488 MB / 0.9712 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/1.21, allocations: 2.147 MB / 0.9733 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.21, allocations: 0 / 0.9733 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.21, allocations: 3.531 kB / 0.9733 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.631e-05/1.21, allocations: 1.203 kB / 0.9733 GB, free: 1.559 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.002364/1.212, allocations: 1.548 MB / 0.9748 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.212, allocations: 12.22 kB / 0.9748 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/1.214, allocations: 321.2 kB / 0.9751 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.215, allocations: 0.8619 MB / 0.976 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/1.215, allocations: 66.41 kB / 0.9761 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.215, allocations: 83.22 kB / 0.9761 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/1.217, allocations: 0.9094 MB / 0.977 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/1.217, allocations: 0.9062 kB / 0.977 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/1.217, allocations: 39.83 kB / 0.9771 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/1.217, allocations: 29.5 kB / 0.9771 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/1.218, allocations: 0.8301 MB / 0.9779 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.004897/1.223, allocations: 3.522 MB / 0.9813 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/1.224, allocations: 482.2 kB / 0.9818 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/1.224, allocations: 277.5 kB / 0.9821 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/1.224, allocations: 100.5 kB / 0.9822 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.224, allocations: 43.7 kB / 0.9822 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/1.224, allocations: 1.094 kB / 0.9822 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003681/1.228, allocations: 1.935 MB / 0.9841 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.228, allocations: 56.34 kB / 0.9841 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/1.229, allocations: 0.8051 MB / 0.9849 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/1.229, allocations: 39.33 kB / 0.985 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/1.229, allocations: 479.6 kB / 0.9854 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/1.229, allocations: 185.6 kB / 0.9856 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.23, allocations: 112.9 kB / 0.9857 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.23, allocations: 328.7 kB / 0.986 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/1.23, allocations: 247.2 kB / 0.9863 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/1.231, allocations: 360.8 kB / 0.9866 GB, free: 13.13 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.003486/1.234, allocations: 1.531 MB / 0.9881 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.234, allocations: 1 kB / 0.9881 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001234/1.235, allocations: 0.7924 MB / 0.9889 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.235, allocations: 5.875 kB / 0.9889 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.235, allocations: 2.797 kB / 0.9889 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/1.236, allocations: 98.31 kB / 0.989 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/1.236, allocations: 137.8 kB / 0.9891 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/1.239, allocations: 3.304 MB / 0.9923 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/1.24, allocations: 24.2 kB / 0.9924 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/1.24, allocations: 22.47 kB / 0.9924 GB, free: 10.1 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.0004956/1.241, allocations: 310.6 kB / 0.9927 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.241, allocations: 92.12 kB / 0.9928 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/1.241, allocations: 103.8 kB / 0.9929 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.241, allocations: 7.422 kB / 0.9929 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.241, allocations: 0 / 0.9929 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/1.242, allocations: 0.8399 MB / 0.9937 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/1.245, allocations: 1.792 MB / 0.9954 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.245, allocations: 6.688 kB / 0.9954 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/1.245, allocations: 125.7 kB / 0.9956 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/1.246, allocations: 73.59 kB / 0.9956 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/1.246, allocations: 14.08 kB / 0.9956 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/1.247, allocations: 1.78 MB / 0.9974 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.247, allocations: 8.469 kB / 0.9974 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/1.249, allocations: 1.071 MB / 0.9984 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/1.249, allocations: 247.5 kB / 0.9987 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.249, allocations: 12.47 kB / 0.9987 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/1.25, allocations: 31.22 kB / 0.9987 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/1.25, allocations: 46.81 kB / 0.9988 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/1.25, allocations: 31.88 kB / 0.9988 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006165/1.251, allocations: 0.5618 MB / 0.9993 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/1.251, allocations: 0 / 0.9993 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008295/1.252, allocations: 284.4 kB / 0.9996 GB, free: 7.137 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.0004227/1.252, allocations: 191.5 kB / 0.9998 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.253, allocations: 0.7811 MB / 1.001 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.253, allocations: 1.094 kB / 1.001 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/1.254, allocations: 408.5 kB / 1.001 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.256, allocations: 0.5985 MB / 1.002 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/1.259, allocations: 1.835 MB / 1.003 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/1.26, allocations: 1.093 MB / 1.004 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007023/1.26, allocations: 214.3 kB / 1.005 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.26, allocations: 67.09 kB / 1.005 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/1.26, allocations: 0.875 kB / 1.005 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.03268/1.293, allocations: 20.87 MB / 1.025 GB, free: 15.57 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)