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.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001519/0.00152, allocations: 195.5 kB / 16.14 MB, free: 6.715 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 290.6 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.956/0.956, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 96.25 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1922, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5364/0.7287, allocations: 188.3 MB / 0.8633 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008779/0.7375, allocations: 5.787 MB / 0.869 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.7391, allocations: 43.81 kB / 0.869 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.7406, allocations: 0.4978 MB / 0.8695 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.7455, allocations: 1.737 MB / 0.8712 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.7486, allocations: 1.084 MB / 0.8723 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004437/0.7531, allocations: 4.09 MB / 0.8763 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.7543, allocations: 0.8141 MB / 0.8771 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.7559, allocations: 0.898 MB / 0.8779 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.758, allocations: 0.9416 MB / 0.8789 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.7582, allocations: 56.09 kB / 0.8789 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.7614, allocations: 1.634 MB / 0.8805 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.762, allocations: 414.9 kB / 0.8809 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.7628, allocations: 0.5958 MB / 0.8815 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.766, allocations: 2.17 MB / 0.8836 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.766, allocations: 0 / 0.8836 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.766, allocations: 0 / 0.8836 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.7661, allocations: 0 / 0.8836 GB, free: 4.246 MB / 0.5919 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.002691/0.7688, allocations: 1.516 MB / 0.8851 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7688, allocations: 10.69 kB / 0.8851 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.7709, allocations: 313.4 kB / 0.8854 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7723, allocations: 0.813 MB / 0.8862 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.7724, allocations: 65.28 kB / 0.8862 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7725, allocations: 83 kB / 0.8863 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.7742, allocations: 0.9237 MB / 0.8872 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7742, allocations: 4 kB / 0.8872 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.7743, allocations: 38.5 kB / 0.8873 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.7744, allocations: 33.34 kB / 0.8873 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7758, allocations: 0.827 MB / 0.8881 GB, free: 1.309 MB / 0.5919 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.0054/0.7812, allocations: 3.52 MB / 0.8915 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.782, allocations: 0.497 MB / 0.892 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.7825, allocations: 298.5 kB / 0.8923 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.7827, allocations: 97.53 kB / 0.8924 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.7827, allocations: 46.94 kB / 0.8924 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.7827, allocations: 4 kB / 0.8925 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004258/0.787, allocations: 1.915 MB / 0.8943 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.7871, allocations: 59.78 kB / 0.8944 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7881, allocations: 0.8097 MB / 0.8952 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.7882, allocations: 37.7 kB / 0.8952 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.7885, allocations: 479.3 kB / 0.8957 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.7887, allocations: 169.5 kB / 0.8958 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.7889, allocations: 118.2 kB / 0.8959 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.789, allocations: 325.9 kB / 0.8962 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.7895, allocations: 245.2 kB / 0.8965 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.79, allocations: 361.2 kB / 0.8968 GB, free: 8.824 MB / 0.6075 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.003767/0.7937, allocations: 1.528 MB / 0.8983 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7938, allocations: 0 / 0.8983 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001413/0.7952, allocations: 0.7883 MB / 0.8991 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.7952, allocations: 7.984 kB / 0.8991 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7952, allocations: 4.344 kB / 0.8991 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.7955, allocations: 93.66 kB / 0.8992 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.7962, allocations: 147.8 kB / 0.8993 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.7993, allocations: 3.058 MB / 0.9023 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.8003, allocations: 59.86 kB / 0.9024 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.8004, allocations: 25.41 kB / 0.9024 GB, free: 2.785 MB / 0.6075 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.0005389/0.8009, allocations: 304 kB / 0.9027 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.8011, allocations: 94.91 kB / 0.9028 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.8013, allocations: 96.72 kB / 0.9029 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8013, allocations: 8 kB / 0.9029 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8013, allocations: 0 / 0.9029 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.8024, allocations: 0.8388 MB / 0.9037 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.8053, allocations: 1.795 MB / 0.9055 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8053, allocations: 4 kB / 0.9055 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.8059, allocations: 128.2 kB / 0.9056 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.8061, allocations: 68.75 kB / 0.9056 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.8062, allocations: 19.94 kB / 0.9057 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.8077, allocations: 1.652 MB / 0.9073 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.8077, allocations: 4 kB / 0.9073 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.8093, allocations: 1.076 MB / 0.9083 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.8097, allocations: 232 kB / 0.9086 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.8099, allocations: 16 kB / 0.9086 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.8106, allocations: 61.94 kB / 0.9086 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.8108, allocations: 47.83 kB / 0.9087 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.8108, allocations: 31.98 kB / 0.9087 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006874/0.8115, allocations: 0.5537 MB / 0.9092 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8115, allocations: 0 / 0.9092 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008893/0.8124, allocations: 288 kB / 0.9095 GB, free: 11.08 MB / 0.6231 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.0004106/0.8128, allocations: 203.1 kB / 0.9097 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.8141, allocations: 0.7928 MB / 0.9105 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8142, allocations: 0 / 0.9105 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.8147, allocations: 411.4 kB / 0.9109 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.8174, allocations: 0.5847 MB / 0.9114 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.8203, allocations: 2.182 MB / 0.9136 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.8209, allocations: 1.091 MB / 0.9146 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008544/0.8218, allocations: 211.7 kB / 0.9148 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.822, allocations: 67.44 kB / 0.9149 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of SimCode: time 1.913e-06/0.822, allocations: 0 / 0.9149 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of Templates: time 0.03079/0.8528, allocations: 19.62 MB / 0.9341 GB, free: 2.121 MB / 0.6387 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)