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.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001975/0.001974, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 283 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5069 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 100.4 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1934, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5526/0.7461, allocations: 188.1 MB / 0.8767 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.757, allocations: 5.696 MB / 0.8822 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.759, allocations: 38.38 kB / 0.8823 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.7609, allocations: 0.5122 MB / 0.8828 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.7664, allocations: 1.724 MB / 0.8844 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.7699, allocations: 1.098 MB / 0.8855 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.7747, allocations: 2.949 MB / 0.8884 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.7763, allocations: 0.9416 MB / 0.8893 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.7786, allocations: 1.047 MB / 0.8903 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.7812, allocations: 0.9756 MB / 0.8913 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.7815, allocations: 111.9 kB / 0.8914 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.7854, allocations: 1.5 MB / 0.8929 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.786, allocations: 466.8 kB / 0.8933 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.7871, allocations: 0.6573 MB / 0.8939 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.791, allocations: 2.216 MB / 0.8961 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7911, allocations: 0 / 0.8961 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7911, allocations: 0 / 0.8961 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.7911, allocations: 0 / 0.8961 GB, free: 11.92 MB / 0.6231 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.002816/0.7939, allocations: 1.52 MB / 0.8976 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.794, allocations: 12.03 kB / 0.8976 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.7961, allocations: 314.3 kB / 0.8979 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.7975, allocations: 0.8162 MB / 0.8987 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.7976, allocations: 66 kB / 0.8988 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.7978, allocations: 79.98 kB / 0.8988 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.7996, allocations: 0.9247 MB / 0.8997 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.7996, allocations: 1.875 kB / 0.8997 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.7997, allocations: 40 kB / 0.8998 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.7998, allocations: 30 kB / 0.8998 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.8013, allocations: 0.8276 MB / 0.9006 GB, free: 7.195 MB / 0.6231 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.005924/0.8073, allocations: 3.528 MB / 0.9041 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.8081, allocations: 0.4896 MB / 0.9045 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.8087, allocations: 294 kB / 0.9048 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.8089, allocations: 101.5 kB / 0.9049 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.8089, allocations: 39 kB / 0.905 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.382e-05/0.809, allocations: 4 kB / 0.905 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.004506/0.8135, allocations: 1.923 MB / 0.9068 GB, free: 484 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.8135, allocations: 55.84 kB / 0.9069 GB, free: 416 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.8147, allocations: 0.802 MB / 0.9077 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.8148, allocations: 37.7 kB / 0.9077 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.8152, allocations: 479.3 kB / 0.9082 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.8154, allocations: 177.5 kB / 0.9083 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.8156, allocations: 110.2 kB / 0.9084 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.8158, allocations: 329.9 kB / 0.9088 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.8162, allocations: 249.2 kB / 0.909 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.8168, allocations: 349.2 kB / 0.9093 GB, free: 13.84 MB / 0.6387 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.003933/0.8208, allocations: 1.542 MB / 0.9108 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.8208, allocations: 0 / 0.9108 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001497/0.8223, allocations: 0.7809 MB / 0.9116 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.8223, allocations: 8 kB / 0.9116 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8223, allocations: 4 kB / 0.9116 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.8228, allocations: 102.9 kB / 0.9117 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.8235, allocations: 147.8 kB / 0.9118 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.827, allocations: 3.3 MB / 0.9151 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.828, allocations: 59.86 kB / 0.9151 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.8281, allocations: 23.94 kB / 0.9151 GB, free: 7.531 MB / 0.6387 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.0005511/0.8286, allocations: 304.8 kB / 0.9154 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.8288, allocations: 94.88 kB / 0.9155 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.829, allocations: 100.7 kB / 0.9156 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.829, allocations: 4 kB / 0.9156 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.829, allocations: 0 / 0.9156 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.8302, allocations: 0.8439 MB / 0.9165 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.8333, allocations: 1.799 MB / 0.9182 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.8334, allocations: 4 kB / 0.9182 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.834, allocations: 132.2 kB / 0.9183 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.8342, allocations: 64.81 kB / 0.9184 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.8343, allocations: 11.98 kB / 0.9184 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.8364, allocations: 1.791 MB / 0.9202 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8364, allocations: 8.062 kB / 0.9202 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.8383, allocations: 1.065 MB / 0.9212 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.8388, allocations: 239.8 kB / 0.9214 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.839, allocations: 19.98 kB / 0.9215 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.8398, allocations: 59.95 kB / 0.9215 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8399, allocations: 39.83 kB / 0.9216 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.84, allocations: 31.98 kB / 0.9216 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000967/0.841, allocations: 0.5576 MB / 0.9221 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/0.841, allocations: 4 kB / 0.9221 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001126/0.8421, allocations: 292 kB / 0.9224 GB, free: 15.69 MB / 0.6544 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.0006167/0.8428, allocations: 196.5 kB / 0.9226 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.8445, allocations: 0.8674 MB / 0.9234 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.8446, allocations: 4.125 kB / 0.9234 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.8452, allocations: 410.2 kB / 0.9238 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.8481, allocations: 0.609 MB / 0.9244 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.852, allocations: 2.179 MB / 0.9266 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/0.853, allocations: 1.084 MB / 0.9276 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00103/0.854, allocations: 219.7 kB / 0.9278 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.8543, allocations: 67.42 kB / 0.9279 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8543, allocations: 0 / 0.9279 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of Templates: time 0.0417/0.896, allocations: 20.43 MB / 0.9478 GB, free: 5.84 MB / 0.67 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)