Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008764/0.0008764, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 281.6 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 13 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4335/0.5686, allocations: 173.3 MB / 0.8537 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.5766, allocations: 5.386 MB / 0.859 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.5774, allocations: 37.47 kB / 0.859 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.5785, allocations: 389.6 kB / 0.8594 GB, free: 6.609 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002878/0.5814, allocations: 1.203 MB / 0.8606 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.5837, allocations: 0.9066 MB / 0.8614 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.5867, allocations: 2.977 MB / 0.8643 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.5876, allocations: 0.7357 MB / 0.8651 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.5891, allocations: 0.8558 MB / 0.8659 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.5901, allocations: 0.8075 MB / 0.8667 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.5902, allocations: 41.19 kB / 0.8667 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5922, allocations: 0.9225 MB / 0.8676 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.5927, allocations: 428.4 kB / 0.868 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.593, allocations: 253.3 kB / 0.8683 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5945, allocations: 1.529 MB / 0.8698 GB, free: 128 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5945, allocations: 0 / 0.8698 GB, free: 128 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5945, allocations: 0 / 0.8698 GB, free: 128 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5945, allocations: 0 / 0.8698 GB, free: 128 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001986/0.5965, allocations: 1.31 MB / 0.8711 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.5966, allocations: 8.062 kB / 0.8711 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.5994, allocations: 0.4953 MB / 0.8715 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.6008, allocations: 0.7889 MB / 0.8723 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.6011, allocations: 126.4 kB / 0.8724 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.6012, allocations: 94.06 kB / 0.8725 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6033, allocations: 1.193 MB / 0.8737 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.6034, allocations: 3.906 kB / 0.8737 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.6035, allocations: 38.88 kB / 0.8737 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.6035, allocations: 40.31 kB / 0.8738 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.6057, allocations: 1.106 MB / 0.8748 GB, free: 12.97 MB / 0.5919 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.006436/0.6121, allocations: 4.373 MB / 0.8791 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.614, allocations: 0.7912 MB / 0.8799 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009042/0.6149, allocations: 416.6 kB / 0.8803 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.6151, allocations: 101.1 kB / 0.8804 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6151, allocations: 46.52 kB / 0.8804 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.6151, allocations: 4 kB / 0.8804 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.005418/0.6205, allocations: 2.291 MB / 0.8827 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6206, allocations: 55.41 kB / 0.8827 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.6216, allocations: 0.8607 MB / 0.8836 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.6217, allocations: 37.7 kB / 0.8836 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.622, allocations: 491.2 kB / 0.8841 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.6222, allocations: 169.7 kB / 0.8842 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.6222, allocations: 8 kB / 0.8842 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6223, allocations: 330 kB / 0.8846 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.6232, allocations: 393 kB / 0.8849 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009695/0.6242, allocations: 0.517 MB / 0.8854 GB, free: 1.977 MB / 0.5919 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.004059/0.6283, allocations: 1.56 MB / 0.887 GB, free: 412 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6283, allocations: 4 kB / 0.887 GB, free: 408 kB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002176/0.6305, allocations: 1.037 MB / 0.888 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6305, allocations: 10.03 kB / 0.888 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6305, allocations: 4 kB / 0.888 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6305, allocations: 8 kB / 0.888 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.6315, allocations: 207.8 kB / 0.8882 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.6315, allocations: 8.719 kB / 0.8882 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.6325, allocations: 123.7 kB / 0.8883 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.6326, allocations: 24.98 kB / 0.8883 GB, free: 14.98 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.633, allocations: 309.6 kB / 0.8886 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6331, allocations: 98.83 kB / 0.8887 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6334, allocations: 100.8 kB / 0.8888 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6334, allocations: 8 kB / 0.8888 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6334, allocations: 0 / 0.8888 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001874/0.6353, allocations: 1.065 MB / 0.8899 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.6395, allocations: 2.21 MB / 0.892 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6395, allocations: 4 kB / 0.892 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.6404, allocations: 185.1 kB / 0.8922 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.6404, allocations: 4 kB / 0.8922 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.6405, allocations: 19.98 kB / 0.8922 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6405, allocations: 11.89 kB / 0.8922 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6405, allocations: 4 kB / 0.8923 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.6434, allocations: 1.485 MB / 0.8937 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.6438, allocations: 255.9 kB / 0.8939 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6439, allocations: 20 kB / 0.894 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.6449, allocations: 104.7 kB / 0.8941 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.6449, allocations: 39.84 kB / 0.8941 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.645, allocations: 27.98 kB / 0.8941 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007108/0.6457, allocations: 0.6004 MB / 0.8947 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6457, allocations: 0 / 0.8947 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008047/0.6466, allocations: 272 kB / 0.895 GB, free: 7.918 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004345/0.647, allocations: 217.3 kB / 0.8952 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.649, allocations: 0.8431 MB / 0.896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.649, allocations: 0 / 0.896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.6499, allocations: 424.5 kB / 0.8964 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.6523, allocations: 0.5617 MB / 0.897 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.6568, allocations: 2.555 MB / 0.8995 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.6575, allocations: 1.111 MB / 0.9005 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000966/0.6584, allocations: 267.7 kB / 0.9008 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.6587, allocations: 83.42 kB / 0.9009 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6587, allocations: 0 / 0.9009 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of Templates: time 0.02979/0.6885, allocations: 19.48 MB / 0.9199 GB, free: 14.63 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)