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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7634/0.7634, allocations: 143.4 MB / 159.2 MB, free: 4.906 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.001224/0.001224, allocations: 187.7 kB / 191.8 MB, free: 5.75 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.343/1.343, allocations: 222.9 MB / 447.3 MB, free: 5.836 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.001386/0.001386, allocations: 107.1 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 281.6 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.89 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3564, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5587/0.9151, allocations: 188.2 MB / 0.9517 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.926, allocations: 5.731 MB / 0.9573 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.9281, allocations: 37.19 kB / 0.9573 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.9303, allocations: 0.4929 MB / 0.9578 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.936, allocations: 1.517 MB / 0.9593 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.9398, allocations: 1.072 MB / 0.9603 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004813/0.9447, allocations: 3.529 MB / 0.9638 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.9465, allocations: 0.8806 MB / 0.9646 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.9493, allocations: 0.9213 MB / 0.9655 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.9523, allocations: 0.8768 MB / 0.9664 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.9527, allocations: 58.16 kB / 0.9664 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.9575, allocations: 1.731 MB / 0.9681 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.9587, allocations: 463.8 kB / 0.9686 GB, free: 15.37 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.9604, allocations: 0.584 MB / 0.9692 GB, free: 15.16 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.9654, allocations: 2.191 MB / 0.9713 GB, free: 14.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.9654, allocations: 0 / 0.9713 GB, free: 14.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9655, allocations: 0 / 0.9713 GB, free: 14.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.25e-05/0.9655, allocations: 1.969 kB / 0.9713 GB, free: 14.2 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004272/0.9698, allocations: 1.523 MB / 0.9728 GB, free: 13.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9699, allocations: 10.19 kB / 0.9728 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.9743, allocations: 464.8 kB / 0.9732 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.9766, allocations: 0.815 MB / 0.974 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004679/0.9771, allocations: 119.6 kB / 0.9741 GB, free: 12.22 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.9774, allocations: 89.52 kB / 0.9742 GB, free: 12.19 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/0.9807, allocations: 1.185 MB / 0.9754 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.9808, allocations: 0 / 0.9754 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.9809, allocations: 41.36 kB / 0.9754 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.981, allocations: 39.33 kB / 0.9755 GB, free: 11.47 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.9845, allocations: 1.074 MB / 0.9765 GB, free: 10.96 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.01038/0.9949, allocations: 4.34 MB / 0.9807 GB, free: 7.594 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.9977, allocations: 0.7591 MB / 0.9815 GB, free: 7.207 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.9991, allocations: 406.9 kB / 0.9819 GB, free: 7.012 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.9994, allocations: 100.9 kB / 0.982 GB, free: 6.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.9994, allocations: 42.94 kB / 0.982 GB, free: 6.863 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 3.486e-06/0.9995, allocations: 0 / 0.982 GB, free: 6.863 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.008651/1.008, allocations: 2.21 MB / 0.9842 GB, free: 5.605 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.008, allocations: 56.38 kB / 0.9842 GB, free: 5.543 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.01, allocations: 0.8586 MB / 0.9851 GB, free: 5.066 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/1.01, allocations: 38.92 kB / 0.9851 GB, free: 5.027 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/1.011, allocations: 485.2 kB / 0.9856 GB, free: 4.602 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/1.011, allocations: 170.6 kB / 0.9857 GB, free: 4.461 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/1.011, allocations: 120.9 kB / 0.9858 GB, free: 4.391 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.011, allocations: 338 kB / 0.9862 GB, free: 4.062 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.013, allocations: 367.7 kB / 0.9865 GB, free: 3.891 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.014, allocations: 0.5165 MB / 0.987 GB, free: 3.531 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.008929/1.023, allocations: 2.286 MB / 0.9893 GB, free: 2.273 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.023, allocations: 0 / 0.9893 GB, free: 2.273 MB / 0.573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003404/1.027, allocations: 0.9892 MB / 0.9902 GB, free: 1.297 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.027, allocations: 7.984 kB / 0.9902 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.027, allocations: 4.125 kB / 0.9902 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.027, allocations: 12 kB / 0.9902 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.028, allocations: 197.9 kB / 0.9904 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/1.028, allocations: 15.92 kB / 0.9904 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.03, allocations: 107.6 kB / 0.9905 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/1.03, allocations: 20 kB / 0.9906 GB, free: 0.9492 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: 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.0007327/1.031, allocations: 316.5 kB / 0.9909 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/1.031, allocations: 90.97 kB / 0.991 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/1.031, allocations: 104.6 kB / 0.9911 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.031, allocations: 4 kB / 0.9911 GB, free: 456 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.031, allocations: 7.938 kB / 0.9911 GB, free: 448 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002932/1.034, allocations: 1.032 MB / 0.9921 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/1.041, allocations: 2.151 MB / 0.9942 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.041, allocations: 7.984 kB / 0.9942 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.042, allocations: 165.2 kB / 0.9943 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/1.042, allocations: 4 kB / 0.9943 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/1.043, allocations: 19.98 kB / 0.9944 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.043, allocations: 10.53 kB / 0.9944 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/1.043, allocations: 10.52 kB / 0.9944 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.055, allocations: 4.866 MB / 0.9991 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/1.056, allocations: 259.9 kB / 0.9994 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.056, allocations: 12 kB / 0.9994 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.058, allocations: 98.89 kB / 0.9995 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.058, allocations: 44.95 kB / 0.9995 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.058, allocations: 27.98 kB / 0.9996 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001156/1.059, allocations: 0.5966 MB / 1 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/1.059, allocations: 0 / 1 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001891/1.061, allocations: 392 kB / 1.001 GB, free: 6.445 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.0006344/1.062, allocations: 205.6 kB / 1.001 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003054/1.065, allocations: 0.8141 MB / 1.002 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.065, allocations: 0.75 kB / 1.002 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.066, allocations: 395.8 kB / 1.002 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.07, allocations: 0.5623 MB / 1.002 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/1.078, allocations: 2.854 MB / 1.005 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.08, allocations: 1.122 MB / 1.006 GB, free: 472 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001821/1.081, allocations: 267.8 kB / 1.007 GB, free: 200 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/1.082, allocations: 79.36 kB / 1.007 GB, free: 120 kB / 0.5886 GB Notification: Performance of SimCode: time 1.272e-06/1.082, allocations: 0 / 1.007 GB, free: 120 kB / 0.5886 GB Notification: Performance of Templates: time 0.05002/1.132, allocations: 21.31 MB / 1.027 GB, free: 11.16 MB / 0.6198 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)