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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001418/0.001419, allocations: 194.4 kB / 16.14 MB, free: 6.668 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 290.7 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9724/0.9724, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 94.27 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1924, allocations: 86.98 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5716/0.764, allocations: 188.2 MB / 0.8632 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00875/0.7728, allocations: 5.761 MB / 0.8689 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.7745, allocations: 36.28 kB / 0.8689 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.7763, allocations: 0.5005 MB / 0.8694 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.7805, allocations: 1.515 MB / 0.8709 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.7835, allocations: 1.081 MB / 0.8719 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003933/0.7874, allocations: 3.539 MB / 0.8754 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.7888, allocations: 0.8902 MB / 0.8762 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.7909, allocations: 0.9023 MB / 0.8771 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.7929, allocations: 0.8849 MB / 0.878 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.7931, allocations: 58.72 kB / 0.8781 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00386/0.7969, allocations: 1.733 MB / 0.8797 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.7976, allocations: 455.9 kB / 0.8802 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008684/0.7984, allocations: 0.5895 MB / 0.8808 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.8019, allocations: 2.201 MB / 0.8829 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8019, allocations: 0 / 0.8829 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.51e-07/0.8019, allocations: 0 / 0.8829 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.8019, allocations: 4 kB / 0.8829 GB, free: 4.785 MB / 0.5919 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.002712/0.8046, allocations: 1.521 MB / 0.8844 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.8047, allocations: 7.562 kB / 0.8844 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.8078, allocations: 476.7 kB / 0.8849 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.8094, allocations: 0.8226 MB / 0.8857 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.8098, allocations: 117.8 kB / 0.8858 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.8099, allocations: 81.53 kB / 0.8858 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.8123, allocations: 1.19 MB / 0.887 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.8123, allocations: 0 / 0.887 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8124, allocations: 42.08 kB / 0.8871 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.8125, allocations: 42.48 kB / 0.8871 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.8148, allocations: 1.071 MB / 0.8881 GB, free: 1.469 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.007284/0.8221, allocations: 4.35 MB / 0.8924 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.824, allocations: 0.7677 MB / 0.8931 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.825, allocations: 408 kB / 0.8935 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.8252, allocations: 97.09 kB / 0.8936 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.8252, allocations: 46.55 kB / 0.8937 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.8253, allocations: 4 kB / 0.8937 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.006047/0.8313, allocations: 2.198 MB / 0.8958 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8314, allocations: 59.34 kB / 0.8959 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.8326, allocations: 0.8686 MB / 0.8967 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.8327, allocations: 37.7 kB / 0.8968 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.833, allocations: 491.3 kB / 0.8972 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.8332, allocations: 169.6 kB / 0.8974 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.8335, allocations: 122.2 kB / 0.8975 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8336, allocations: 333.9 kB / 0.8978 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009298/0.8345, allocations: 373 kB / 0.8982 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.8356, allocations: 0.4975 MB / 0.8987 GB, free: 6.973 MB / 0.6075 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.006027/0.8416, allocations: 2.294 MB / 0.9009 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8416, allocations: 0 / 0.9009 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002631/0.8443, allocations: 1.001 MB / 0.9019 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8443, allocations: 8 kB / 0.9019 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8443, allocations: 8.125 kB / 0.9019 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.8443, allocations: 7.984 kB / 0.9019 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.8453, allocations: 199.7 kB / 0.9021 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.8453, allocations: 11.98 kB / 0.9021 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8466, allocations: 99.75 kB / 0.9022 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.8467, allocations: 24 kB / 0.9022 GB, free: 3.25 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 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.0005526/0.8472, allocations: 314.2 kB / 0.9025 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.8475, allocations: 94.88 kB / 0.9026 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.8478, allocations: 116.6 kB / 0.9027 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.8478, allocations: 7.938 kB / 0.9027 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8478, allocations: 0 / 0.9027 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/0.8498, allocations: 1.026 MB / 0.9037 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.8545, allocations: 2.152 MB / 0.9058 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.8546, allocations: 0 / 0.9058 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/0.8555, allocations: 168.2 kB / 0.906 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8555, allocations: 8 kB / 0.906 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.8556, allocations: 16 kB / 0.906 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.8556, allocations: 4 kB / 0.906 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/0.8556, allocations: 15.86 kB / 0.906 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.8588, allocations: 1.433 MB / 0.9074 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.8594, allocations: 255.9 kB / 0.9077 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.8596, allocations: 19.98 kB / 0.9077 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.8607, allocations: 97.39 kB / 0.9078 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8609, allocations: 47.83 kB / 0.9078 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.8609, allocations: 27.98 kB / 0.9079 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008738/0.8618, allocations: 0.6005 MB / 0.9084 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8618, allocations: 0 / 0.9084 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001005/0.8628, allocations: 264 kB / 0.9087 GB, free: 12.34 MB / 0.6231 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.0005376/0.8634, allocations: 203.1 kB / 0.9089 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.8656, allocations: 0.8149 MB / 0.9097 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8657, allocations: 0 / 0.9097 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.8667, allocations: 397.3 kB / 0.9101 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/0.8697, allocations: 0.5736 MB / 0.9106 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.875, allocations: 2.544 MB / 0.9131 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/0.8759, allocations: 1.107 MB / 0.9142 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001169/0.877, allocations: 255.8 kB / 0.9144 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.8774, allocations: 79.41 kB / 0.9145 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.8774, allocations: 0 / 0.9145 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of Templates: time 0.03306/0.9104, allocations: 20.2 MB / 0.9342 GB, free: 2.445 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)