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.001391/0.001391, allocations: 108 kB / 15.99 MB, free: 6.348 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.001434/0.001434, allocations: 190.4 kB / 16.91 MB, free: 6.188 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.237/1.237, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 278.1 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8859/0.8859, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.0018, allocations: 90.61 kB / 0.5953 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1627, allocations: 86.98 MB / 0.6803 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4413/0.604, allocations: 188.1 MB / 0.8639 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.6129, allocations: 5.682 MB / 0.8695 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.6141, allocations: 39.75 kB / 0.8695 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.6157, allocations: 0.517 MB / 0.87 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.6198, allocations: 1.725 MB / 0.8717 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.6225, allocations: 1.098 MB / 0.8728 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.6258, allocations: 2.947 MB / 0.8757 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.6271, allocations: 0.934 MB / 0.8766 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.629, allocations: 1.058 MB / 0.8776 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.6309, allocations: 0.9728 MB / 0.8786 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.6311, allocations: 108 kB / 0.8787 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.6339, allocations: 1.504 MB / 0.8801 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.6344, allocations: 470.8 kB / 0.8806 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.6352, allocations: 0.6534 MB / 0.8812 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.6371, allocations: 1.618 MB / 0.8828 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6371, allocations: 0 / 0.8828 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6372, allocations: 4 kB / 0.8828 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.6372, allocations: 0 / 0.8828 GB, free: 15.86 MB / 0.6544 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.002322/0.6395, allocations: 1.516 MB / 0.8843 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6395, allocations: 8.031 kB / 0.8843 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.6415, allocations: 318.3 kB / 0.8846 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6427, allocations: 0.82 MB / 0.8854 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.6428, allocations: 66 kB / 0.8855 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6429, allocations: 80 kB / 0.8855 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.6444, allocations: 0.9208 MB / 0.8864 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.6445, allocations: 3.984 kB / 0.8864 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.6446, allocations: 36 kB / 0.8865 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.6446, allocations: 37.98 kB / 0.8865 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6459, allocations: 0.8236 MB / 0.8873 GB, free: 11.13 MB / 0.6544 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.005073/0.651, allocations: 3.528 MB / 0.8908 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.6518, allocations: 496.4 kB / 0.8912 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.6522, allocations: 302.5 kB / 0.8915 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.6524, allocations: 101.5 kB / 0.8916 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6524, allocations: 39 kB / 0.8917 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.6524, allocations: 0 / 0.8917 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003779/0.6562, allocations: 1.919 MB / 0.8935 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6563, allocations: 59.78 kB / 0.8936 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.6572, allocations: 0.8019 MB / 0.8944 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.6572, allocations: 41.7 kB / 0.8944 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.6576, allocations: 479.3 kB / 0.8949 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.6577, allocations: 173.6 kB / 0.895 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.6579, allocations: 114.2 kB / 0.8952 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.658, allocations: 329.9 kB / 0.8955 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.6584, allocations: 249.2 kB / 0.8957 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.6589, allocations: 349.3 kB / 0.896 GB, free: 1.773 MB / 0.6544 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.00353/0.6624, allocations: 1.543 MB / 0.8975 GB, free: 188 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6625, allocations: 0.875 kB / 0.8975 GB, free: 188 kB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001249/0.6637, allocations: 0.7806 MB / 0.8983 GB, free: 15.39 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6637, allocations: 6.344 kB / 0.8983 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6638, allocations: 4 kB / 0.8983 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.664, allocations: 105.9 kB / 0.8984 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.6647, allocations: 139.8 kB / 0.8985 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.6674, allocations: 3.316 MB / 0.9018 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.6684, allocations: 55.88 kB / 0.9018 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.6684, allocations: 27.92 kB / 0.9019 GB, free: 11.46 MB / 0.67 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.0004219/0.6688, allocations: 295.4 kB / 0.9021 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.669, allocations: 90.97 kB / 0.9022 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.6692, allocations: 108.7 kB / 0.9023 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6692, allocations: 4 kB / 0.9023 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6692, allocations: 0 / 0.9023 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009944/0.6702, allocations: 0.8426 MB / 0.9032 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.6728, allocations: 1.801 MB / 0.9049 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6728, allocations: 4 kB / 0.9049 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.6734, allocations: 123.9 kB / 0.905 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.6736, allocations: 73.17 kB / 0.9051 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.6737, allocations: 15.94 kB / 0.9051 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.6753, allocations: 1.782 MB / 0.9069 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6753, allocations: 11.92 kB / 0.9069 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.6768, allocations: 1.069 MB / 0.9079 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.6771, allocations: 235.9 kB / 0.9082 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6773, allocations: 16 kB / 0.9082 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.678, allocations: 61.14 kB / 0.9082 GB, free: 4.527 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.6781, allocations: 47.83 kB / 0.9083 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.6782, allocations: 27.98 kB / 0.9083 GB, free: 4.453 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006741/0.6789, allocations: 0.5615 MB / 0.9088 GB, free: 3.895 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6789, allocations: 0 / 0.9088 GB, free: 3.895 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008743/0.6798, allocations: 288 kB / 0.9091 GB, free: 3.613 MB / 0.67 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.0004342/0.6802, allocations: 191.7 kB / 0.9093 GB, free: 3.422 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6816, allocations: 0.8551 MB / 0.9101 GB, free: 2.539 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6816, allocations: 7.875 kB / 0.9101 GB, free: 2.531 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.6822, allocations: 412.3 kB / 0.9105 GB, free: 2.117 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.6848, allocations: 0.6154 MB / 0.9111 GB, free: 1.523 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.6878, allocations: 2.231 MB / 0.9133 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.6885, allocations: 1.08 MB / 0.9144 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.6888, allocations: 75.42 kB / 0.9144 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.6888, allocations: 0 / 0.9144 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of Templates: time 0.02606/0.7148, allocations: 21.9 MB / 0.9358 GB, free: 8.277 MB / 0.7012 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)