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.001463/0.001463, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001469/0.001469, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 297 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 99.22 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1774, allocations: 86.97 MB / 0.6808 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4845/0.6619, allocations: 190.5 MB / 0.8668 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009535/0.6715, allocations: 5.699 MB / 0.8724 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.673, allocations: 43.75 kB / 0.8724 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6747, allocations: 0.5669 MB / 0.873 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.6789, allocations: 1.615 MB / 0.8746 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.6821, allocations: 1.204 MB / 0.8757 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.6853, allocations: 2.565 MB / 0.8782 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.6869, allocations: 1.026 MB / 0.8792 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.689, allocations: 1.043 MB / 0.8803 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.6909, allocations: 0.8612 MB / 0.8811 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.6913, allocations: 108 kB / 0.8812 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.6944, allocations: 1.547 MB / 0.8827 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006568/0.6951, allocations: 0.491 MB / 0.8832 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.6962, allocations: 0.6495 MB / 0.8838 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.6995, allocations: 2.162 MB / 0.8859 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6995, allocations: 0 / 0.8859 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6995, allocations: 0 / 0.8859 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.6996, allocations: 0 / 0.8859 GB, free: 12.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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003008/0.7026, allocations: 1.523 MB / 0.8874 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7027, allocations: 8.031 kB / 0.8874 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.7058, allocations: 474.1 kB / 0.8879 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.7074, allocations: 0.8163 MB / 0.8887 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.7077, allocations: 117.9 kB / 0.8888 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.7079, allocations: 84 kB / 0.8889 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.7102, allocations: 1.194 MB / 0.89 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7102, allocations: 0 / 0.89 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.7104, allocations: 36.75 kB / 0.8901 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.7104, allocations: 37.98 kB / 0.8901 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.7129, allocations: 1.081 MB / 0.8912 GB, free: 7.383 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.007223/0.7201, allocations: 4.37 MB / 0.8954 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.7222, allocations: 0.7638 MB / 0.8962 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.7232, allocations: 405.6 kB / 0.8966 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.7234, allocations: 105 kB / 0.8967 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.7234, allocations: 50.56 kB / 0.8967 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/0.7235, allocations: 0 / 0.8967 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.006044/0.7295, allocations: 2.202 MB / 0.8989 GB, free: 15.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7296, allocations: 63.34 kB / 0.8989 GB, free: 15.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7307, allocations: 0.8647 MB / 0.8998 GB, free: 14.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/0.7307, allocations: 33.7 kB / 0.8998 GB, free: 14.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.7311, allocations: 495.3 kB / 0.9003 GB, free: 13.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.7312, allocations: 165.6 kB / 0.9004 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.7315, allocations: 122.2 kB / 0.9006 GB, free: 13.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7316, allocations: 334 kB / 0.9009 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/0.7326, allocations: 377 kB / 0.9012 GB, free: 12.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.7337, allocations: 0.504 MB / 0.9017 GB, free: 12.12 MB / 0.67 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.006292/0.74, allocations: 2.293 MB / 0.904 GB, free: 9.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.74, allocations: 4 kB / 0.904 GB, free: 9.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002405/0.7424, allocations: 0.9937 MB / 0.9049 GB, free: 8.762 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.7425, allocations: 12.11 kB / 0.905 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7425, allocations: 8 kB / 0.905 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.7425, allocations: 8 kB / 0.905 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.7435, allocations: 191.7 kB / 0.9052 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.7435, allocations: 11.92 kB / 0.9052 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.7445, allocations: 63.94 kB / 0.9052 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.7446, allocations: 31.98 kB / 0.9053 GB, free: 8.441 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004404/0.7451, allocations: 315.3 kB / 0.9056 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.7452, allocations: 94.88 kB / 0.9056 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.7455, allocations: 104.8 kB / 0.9057 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7455, allocations: 7.938 kB / 0.9058 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7455, allocations: 0 / 0.9058 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002061/0.7476, allocations: 1.03 MB / 0.9068 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.7522, allocations: 2.144 MB / 0.9089 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7522, allocations: 7.984 kB / 0.9089 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.7531, allocations: 160.2 kB / 0.909 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7531, allocations: 8 kB / 0.909 GB, free: 4.383 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.7532, allocations: 19.98 kB / 0.909 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7532, allocations: 11.94 kB / 0.9091 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.7532, allocations: 7.938 kB / 0.9091 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.7564, allocations: 1.434 MB / 0.9105 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.7569, allocations: 255.9 kB / 0.9107 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.757, allocations: 16 kB / 0.9107 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009746/0.758, allocations: 77.5 kB / 0.9108 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.7581, allocations: 43.77 kB / 0.9108 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.7582, allocations: 27.98 kB / 0.9109 GB, free: 2.426 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007425/0.7589, allocations: 0.6005 MB / 0.9114 GB, free: 1.832 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7589, allocations: 8 kB / 0.9115 GB, free: 1.824 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000846/0.7598, allocations: 264 kB / 0.9117 GB, free: 1.566 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.7603, allocations: 214.8 kB / 0.9119 GB, free: 1.352 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.7626, allocations: 0.8898 MB / 0.9128 GB, free: 476 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7626, allocations: 0 / 0.9128 GB, free: 476 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/0.7636, allocations: 396.3 kB / 0.9132 GB, free: 80 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.7661, allocations: 0.5762 MB / 0.9137 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.7709, allocations: 2.266 MB / 0.9159 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.7717, allocations: 1.106 MB / 0.917 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.772, allocations: 83.42 kB / 0.9171 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.772, allocations: 0 / 0.9171 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of Templates: time 0.02345/0.7954, allocations: 16.89 MB / 0.9336 GB, free: 11.24 MB / 0.7012 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)