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.001317/0.001317, 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.001403/0.001403, allocations: 196.8 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 286.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 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004401/0.004402, allocations: 101.3 kB / 0.6057 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2107, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6201/0.8308, allocations: 188.3 MB / 0.8767 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.841, allocations: 5.802 MB / 0.8824 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.8427, allocations: 36.16 kB / 0.8824 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.8444, allocations: 0.4967 MB / 0.8829 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.8492, allocations: 1.749 MB / 0.8846 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.8522, allocations: 1.069 MB / 0.8856 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.8574, allocations: 4.094 MB / 0.8896 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.8593, allocations: 0.8079 MB / 0.8904 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.8617, allocations: 0.8945 MB / 0.8913 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.8643, allocations: 0.9482 MB / 0.8922 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.8647, allocations: 56 kB / 0.8923 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.8689, allocations: 1.636 MB / 0.8939 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.8697, allocations: 402.8 kB / 0.8943 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.871, allocations: 0.5987 MB / 0.8948 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.8753, allocations: 2.166 MB / 0.897 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8753, allocations: 0 / 0.897 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8754, allocations: 4 kB / 0.897 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.182e-05/0.8754, allocations: 0 / 0.897 GB, free: 11.04 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.004453/0.8799, allocations: 1.52 MB / 0.8984 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.88, allocations: 15.97 kB / 0.8985 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.8825, allocations: 310.4 kB / 0.8988 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.8845, allocations: 0.8123 MB / 0.8995 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.64e-05/0.8846, allocations: 66 kB / 0.8996 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.8848, allocations: 84 kB / 0.8997 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.8868, allocations: 0.9169 MB / 0.9006 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.8869, allocations: 4 kB / 0.9006 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.887, allocations: 40 kB / 0.9006 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.887, allocations: 33.94 kB / 0.9007 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.8887, allocations: 0.8276 MB / 0.9015 GB, free: 6.312 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.007009/0.8958, allocations: 3.52 MB / 0.9049 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/0.8967, allocations: 0.4964 MB / 0.9054 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.8973, allocations: 298 kB / 0.9057 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.8975, allocations: 97.53 kB / 0.9058 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.8976, allocations: 46.94 kB / 0.9058 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.145e-06/0.8976, allocations: 0 / 0.9058 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.004991/0.9026, allocations: 1.923 MB / 0.9077 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.9027, allocations: 55.84 kB / 0.9077 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.9039, allocations: 0.8059 MB / 0.9085 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.904, allocations: 37.7 kB / 0.9086 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.9044, allocations: 475.3 kB / 0.909 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.9046, allocations: 173.5 kB / 0.9092 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.9049, allocations: 118.2 kB / 0.9093 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.9051, allocations: 329.9 kB / 0.9096 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.9057, allocations: 245.2 kB / 0.9098 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.9063, allocations: 357.2 kB / 0.9102 GB, free: 12.94 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.004053/0.9104, allocations: 1.531 MB / 0.9117 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9104, allocations: 0 / 0.9117 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001546/0.9119, allocations: 0.7848 MB / 0.9124 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.912, allocations: 8 kB / 0.9125 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.912, allocations: 4 kB / 0.9125 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.9123, allocations: 97.59 kB / 0.9126 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.913, allocations: 139.8 kB / 0.9127 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.9166, allocations: 3.061 MB / 0.9157 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.9176, allocations: 60.05 kB / 0.9157 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.9177, allocations: 20 kB / 0.9157 GB, free: 6.902 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.0005455/0.9183, allocations: 309.6 kB / 0.916 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.9185, allocations: 94.91 kB / 0.9161 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.9187, allocations: 100.7 kB / 0.9162 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.9188, allocations: 4 kB / 0.9162 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9188, allocations: 0 / 0.9162 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.92, allocations: 0.8466 MB / 0.9171 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.9233, allocations: 1.79 MB / 0.9188 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.9234, allocations: 4 kB / 0.9188 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.924, allocations: 136.2 kB / 0.9189 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.9243, allocations: 68.75 kB / 0.919 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.9243, allocations: 12 kB / 0.919 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.9262, allocations: 1.644 MB / 0.9206 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.9262, allocations: 13.19 kB / 0.9206 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.9281, allocations: 1.072 MB / 0.9217 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.9286, allocations: 232 kB / 0.9219 GB, free: 184 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.9287, allocations: 16 kB / 0.9219 GB, free: 168 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/0.9296, allocations: 65.88 kB / 0.922 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.9297, allocations: 47.83 kB / 0.922 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.9298, allocations: 35.92 kB / 0.9221 GB, free: 20 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007982/0.9306, allocations: 0.5615 MB / 0.9226 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9306, allocations: 0 / 0.9226 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001029/0.9316, allocations: 284 kB / 0.9229 GB, free: 15.18 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.0005396/0.9322, allocations: 192.4 kB / 0.9231 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.9337, allocations: 0.797 MB / 0.9238 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9337, allocations: 0 / 0.9238 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.9344, allocations: 420.3 kB / 0.9242 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.9372, allocations: 0.5811 MB / 0.9248 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.9406, allocations: 2.172 MB / 0.9269 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008875/0.9415, allocations: 1.099 MB / 0.928 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009524/0.9425, allocations: 215.7 kB / 0.9282 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.9427, allocations: 63.44 kB / 0.9283 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/0.9427, allocations: 4 kB / 0.9283 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of Templates: time 0.03714/0.9798, allocations: 19.63 MB / 0.9474 GB, free: 6.215 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)