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.001284/0.001291, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.001228/0.001228, allocations: 185.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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 288.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9614/0.9614, allocations: 169.2 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5342, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2062/0.7405, allocations: 190.6 MB / 0.9532 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5103/1.251, allocations: 5.735 MB / 0.9588 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/1.252, allocations: 41.78 kB / 0.9588 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.254, allocations: 0.601 MB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/1.259, allocations: 1.911 MB / 0.9613 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/1.262, allocations: 1.198 MB / 0.9624 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004298/1.267, allocations: 2.953 MB / 0.9653 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/1.268, allocations: 0.9393 MB / 0.9662 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/1.27, allocations: 1.103 MB / 0.9673 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/1.272, allocations: 0.9229 MB / 0.9682 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/1.272, allocations: 108.3 kB / 0.9683 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/1.276, allocations: 1.431 MB / 0.9697 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/1.276, allocations: 462.9 kB / 0.9702 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008821/1.277, allocations: 0.6529 MB / 0.9708 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003253/1.28, allocations: 2.142 MB / 0.9729 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.28, allocations: 3.531 kB / 0.9729 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/1.28, allocations: 0 / 0.9729 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.475e-05/1.28, allocations: 0 / 0.9729 GB, free: 1.598 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.00236/1.283, allocations: 1.516 MB / 0.9744 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/1.283, allocations: 10.56 kB / 0.9744 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/1.285, allocations: 313.7 kB / 0.9747 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.286, allocations: 0.8601 MB / 0.9755 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/1.286, allocations: 61.34 kB / 0.9756 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.286, allocations: 84.97 kB / 0.9757 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.288, allocations: 0.907 MB / 0.9765 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.288, allocations: 2.75 kB / 0.9765 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/1.288, allocations: 36.25 kB / 0.9766 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/1.288, allocations: 34.84 kB / 0.9766 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.289, allocations: 0.8276 MB / 0.9774 GB, free: 16.37 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.004923/1.294, allocations: 3.509 MB / 0.9808 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/1.295, allocations: 0.5034 MB / 0.9813 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/1.295, allocations: 293.4 kB / 0.9816 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/1.295, allocations: 104.8 kB / 0.9817 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.295, allocations: 43.5 kB / 0.9818 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/1.295, allocations: 0 / 0.9818 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003845/1.299, allocations: 1.915 MB / 0.9836 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.299, allocations: 57.22 kB / 0.9837 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/1.3, allocations: 0.8053 MB / 0.9845 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/1.3, allocations: 39.77 kB / 0.9845 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/1.301, allocations: 472.6 kB / 0.985 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.301, allocations: 178.8 kB / 0.9851 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.301, allocations: 113.1 kB / 0.9852 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.301, allocations: 331.7 kB / 0.9856 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/1.301, allocations: 242.9 kB / 0.9858 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/1.302, allocations: 353.5 kB / 0.9861 GB, free: 13.25 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.003429/1.305, allocations: 1.532 MB / 0.9876 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.305, allocations: 1.906 kB / 0.9876 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001231/1.307, allocations: 0.7861 MB / 0.9884 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.307, allocations: 5.188 kB / 0.9884 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.307, allocations: 6.734 kB / 0.9884 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/1.307, allocations: 93.34 kB / 0.9885 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/1.308, allocations: 142.6 kB / 0.9886 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/1.311, allocations: 3.301 MB / 0.9918 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/1.312, allocations: 25.25 kB / 0.9919 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/1.312, allocations: 25.22 kB / 0.9919 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.0005346/1.312, allocations: 303.7 kB / 0.9922 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.312, allocations: 94.41 kB / 0.9923 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/1.313, allocations: 100.6 kB / 0.9924 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.313, allocations: 6.062 kB / 0.9924 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.313, allocations: 0 / 0.9924 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009928/1.314, allocations: 0.8398 MB / 0.9932 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/1.316, allocations: 1.792 MB / 0.9949 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.316, allocations: 9.438 kB / 0.995 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/1.317, allocations: 120.6 kB / 0.9951 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/1.317, allocations: 75.3 kB / 0.9951 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/1.317, allocations: 18.34 kB / 0.9952 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.319, allocations: 1.78 MB / 0.9969 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.319, allocations: 9.469 kB / 0.9969 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.32, allocations: 1.065 MB / 0.9979 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/1.321, allocations: 239.4 kB / 0.9982 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.321, allocations: 14.22 kB / 0.9982 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/1.321, allocations: 36.91 kB / 0.9982 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.322, allocations: 48.06 kB / 0.9983 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/1.322, allocations: 27.47 kB / 0.9983 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006436/1.322, allocations: 0.5596 MB / 0.9988 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.81e-07/1.322, allocations: 0 / 0.9988 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008388/1.323, allocations: 280.9 kB / 0.9991 GB, free: 7.281 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.0004318/1.324, allocations: 197.7 kB / 0.9993 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.325, allocations: 0.8071 MB / 1 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.325, allocations: 4.25 kB / 1 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/1.325, allocations: 408.1 kB / 1 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.328, allocations: 0.6158 MB / 1.001 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/1.331, allocations: 1.853 MB / 1.003 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.331, allocations: 1.087 MB / 1.004 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.331, allocations: 69.75 kB / 1.004 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/1.331, allocations: 0 / 1.004 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.02743/1.359, allocations: 22.02 MB / 1.026 GB, free: 14.72 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)