Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7871/0.7871, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 184.5 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 106.1 kB / 0.517 GB, free: 3.742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 274 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 79.89 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3616, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5468/0.9084, allocations: 188.3 MB / 0.9518 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009992/0.9185, allocations: 5.763 MB / 0.9574 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.9206, allocations: 31.34 kB / 0.9575 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.9224, allocations: 0.5051 MB / 0.958 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.9271, allocations: 1.519 MB / 0.9594 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.9304, allocations: 1.077 MB / 0.9605 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.9343, allocations: 3.538 MB / 0.9639 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.9353, allocations: 0.7279 MB / 0.9647 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.937, allocations: 0.9195 MB / 0.9656 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.9389, allocations: 0.8368 MB / 0.9664 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.939, allocations: 50.28 kB / 0.9664 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.9422, allocations: 1.73 MB / 0.9681 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.9427, allocations: 366.3 kB / 0.9685 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.9433, allocations: 0.5403 MB / 0.969 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.9467, allocations: 2.048 MB / 0.971 GB, free: 14.42 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.9467, allocations: 0 / 0.971 GB, free: 14.42 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.123e-06/0.9467, allocations: 0 / 0.971 GB, free: 14.42 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.9467, allocations: 0 / 0.971 GB, free: 14.42 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002576/0.9493, allocations: 1.436 MB / 0.9724 GB, free: 13.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9494, allocations: 7.031 kB / 0.9724 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.9519, allocations: 411.4 kB / 0.9728 GB, free: 13.17 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.9533, allocations: 0.7499 MB / 0.9735 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.9536, allocations: 115.4 kB / 0.9736 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.9538, allocations: 76 kB / 0.9737 GB, free: 12.54 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.9555, allocations: 1 MB / 0.9747 GB, free: 11.95 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.9556, allocations: 3.984 kB / 0.9747 GB, free: 11.95 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.9557, allocations: 31.47 kB / 0.9747 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.9557, allocations: 28.28 kB / 0.9747 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.9576, allocations: 0.8845 MB / 0.9756 GB, free: 11.5 MB / 0.573 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.005922/0.9635, allocations: 3.492 MB / 0.979 GB, free: 8.859 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.9652, allocations: 0.626 MB / 0.9796 GB, free: 8.535 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.966, allocations: 342.4 kB / 0.98 GB, free: 8.367 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.9661, allocations: 97.64 kB / 0.98 GB, free: 8.27 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.9662, allocations: 39.75 kB / 0.9801 GB, free: 8.227 MB / 0.573 GB Notification: Performance of pre-optimization done (n=39): time 1.532e-06/0.9662, allocations: 0 / 0.9801 GB, free: 8.227 MB / 0.573 GB Notification: Performance of matching and sorting (n=41): time 0.008094/0.9743, allocations: 2.419 MB / 0.9824 GB, free: 6.812 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.9744, allocations: 55.91 kB / 0.9825 GB, free: 6.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.9754, allocations: 0.7909 MB / 0.9833 GB, free: 6.305 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.9755, allocations: 38.33 kB / 0.9833 GB, free: 6.266 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.9758, allocations: 448.2 kB / 0.9837 GB, free: 5.875 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.976, allocations: 141.8 kB / 0.9839 GB, free: 5.754 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.9762, allocations: 107.5 kB / 0.984 GB, free: 5.688 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9764, allocations: 323.3 kB / 0.9843 GB, free: 5.371 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.9772, allocations: 311.2 kB / 0.9846 GB, free: 5.223 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/0.9781, allocations: 427 kB / 0.985 GB, free: 4.941 MB / 0.573 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.005382/0.9835, allocations: 1.892 MB / 0.9868 GB, free: 3.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9835, allocations: 4 kB / 0.9868 GB, free: 3.926 MB / 0.573 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003369/0.9869, allocations: 1.043 MB / 0.9879 GB, free: 3.422 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.9869, allocations: 5.094 kB / 0.9879 GB, free: 3.422 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9869, allocations: 13.02 kB / 0.9879 GB, free: 3.414 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.9875, allocations: 179.9 kB / 0.988 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.9882, allocations: 146 kB / 0.9882 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.9919, allocations: 2.102 MB / 0.9902 GB, free: 1.355 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9929, allocations: 75.98 kB / 0.9903 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.993, allocations: 20 kB / 0.9903 GB, free: 1.262 MB / 0.573 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0004428/0.9935, allocations: 281.7 kB / 0.9906 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.9936, allocations: 90.95 kB / 0.9907 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.9938, allocations: 96.11 kB / 0.9908 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9938, allocations: 4 kB / 0.9908 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9938, allocations: 4.188 kB / 0.9908 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002896/0.9967, allocations: 0.9012 MB / 0.9917 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/1.002, allocations: 2.112 MB / 0.9937 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.002, allocations: 4.031 kB / 0.9937 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/1.003, allocations: 126.5 kB / 0.9939 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/1.003, allocations: 195.2 kB / 0.994 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/1.003, allocations: 15.94 kB / 0.9941 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/1.007, allocations: 2.03 MB / 0.996 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.007, allocations: 10.61 kB / 0.996 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008878/1.016, allocations: 4.519 MB / 1 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.016, allocations: 236 kB / 1.001 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.016, allocations: 11.98 kB / 1.001 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/1.017, allocations: 89.45 kB / 1.001 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/1.017, allocations: 38.33 kB / 1.001 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/1.017, allocations: 31.98 kB / 1.001 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006595/1.018, allocations: 0.5498 MB / 1.001 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/1.018, allocations: 0 / 1.001 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001172/1.019, allocations: 392 kB / 1.002 GB, free: 5.145 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (37): * Single equations (assignments): 36 * 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.0004357/1.02, allocations: 219.7 kB / 1.002 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002012/1.022, allocations: 0.8132 MB / 1.003 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.022, allocations: 4 kB / 1.003 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.023, allocations: 462.5 kB / 1.003 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.025, allocations: 0.5334 MB / 1.004 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/1.03, allocations: 2.515 MB / 1.006 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/1.031, allocations: 1.048 MB / 1.007 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000843/1.031, allocations: 215.1 kB / 1.007 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.032, allocations: 67.42 kB / 1.007 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/1.032, allocations: 0 / 1.007 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.03473/1.066, allocations: 20.9 MB / 1.028 GB, free: 10.63 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)