Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0009077/0.0009082, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007924/0.007924, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 252 MB / 0.5105 GB, free: 4.598 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006345, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6168, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7936/1.41, allocations: 216.3 MB / 0.9399 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008448/1.419, allocations: 5.801 MB / 0.9456 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/1.421, allocations: 28.16 kB / 0.9456 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/1.422, allocations: 0.5027 MB / 0.9461 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005019/1.427, allocations: 1.636 MB / 0.9477 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/1.431, allocations: 1.114 MB / 0.9488 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004658/1.435, allocations: 3.721 MB / 0.9524 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.437, allocations: 0.9004 MB / 0.9533 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/1.439, allocations: 0.8587 MB / 0.9542 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/1.442, allocations: 0.8864 MB / 0.955 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002849/1.442, allocations: 43.78 kB / 0.9551 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/1.447, allocations: 1.724 MB / 0.9567 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009491/1.448, allocations: 457 kB / 0.9572 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/1.449, allocations: 0.6046 MB / 0.9578 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/1.454, allocations: 2.213 MB / 0.9599 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.454, allocations: 3.688 kB / 0.9599 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/1.454, allocations: 2.906 kB / 0.9599 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.21e-05/1.454, allocations: 0 / 0.9599 GB, free: 17.22 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002646/1.456, allocations: 1.319 MB / 0.9612 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.456, allocations: 8.625 kB / 0.9612 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/1.459, allocations: 498 kB / 0.9617 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.461, allocations: 0.8172 MB / 0.9625 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/1.462, allocations: 136.1 kB / 0.9626 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.462, allocations: 90.03 kB / 0.9627 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.465, allocations: 1.225 MB / 0.9639 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.465, allocations: 3.156 kB / 0.9639 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.465, allocations: 44.61 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/1.465, allocations: 36.34 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/1.467, allocations: 1.114 MB / 0.9651 GB, free: 15.85 MB / 0.7325 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.007657/1.475, allocations: 4.38 MB / 0.9694 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/1.477, allocations: 0.7873 MB / 0.9701 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/1.478, allocations: 429.6 kB / 0.9705 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/1.478, allocations: 101.6 kB / 0.9706 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.478, allocations: 43.72 kB / 0.9707 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/1.478, allocations: 0 / 0.9707 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.006069/1.484, allocations: 2.289 MB / 0.9729 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.484, allocations: 63.36 kB / 0.973 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/1.485, allocations: 0.8807 MB / 0.9738 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.486, allocations: 36.77 kB / 0.9739 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/1.486, allocations: 496.1 kB / 0.9743 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.486, allocations: 161.4 kB / 0.9745 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.486, allocations: 55.53 kB / 0.9746 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.486, allocations: 332.8 kB / 0.9749 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009951/1.487, allocations: 384.3 kB / 0.9752 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.489, allocations: 0.5374 MB / 0.9758 GB, free: 12.24 MB / 0.7325 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.005995/1.495, allocations: 2.333 MB / 0.978 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/1.495, allocations: 2.688 kB / 0.978 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002582/1.497, allocations: 1.031 MB / 0.9791 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.497, allocations: 5.5 kB / 0.9791 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.497, allocations: 14.5 kB / 0.9791 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.497, allocations: 5.125 kB / 0.9791 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/1.498, allocations: 214.8 kB / 0.9793 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.498, allocations: 8.125 kB / 0.9793 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.5, allocations: 113 kB / 0.9794 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/1.5, allocations: 24.31 kB / 0.9794 GB, free: 11.75 MB / 0.7325 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: 19 * 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.0008229/1.501, allocations: 328.7 kB / 0.9797 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.501, allocations: 96.03 kB / 0.9798 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/1.501, allocations: 106.4 kB / 0.9799 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.501, allocations: 5.281 kB / 0.9799 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.501, allocations: 0 / 0.9799 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/1.503, allocations: 1.066 MB / 0.981 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/1.508, allocations: 2.218 MB / 0.9831 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.508, allocations: 6.844 kB / 0.9831 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008882/1.509, allocations: 188.6 kB / 0.9833 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.509, allocations: 6.219 kB / 0.9833 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/1.509, allocations: 15.75 kB / 0.9833 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/1.509, allocations: 17.23 kB / 0.9834 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.509, allocations: 2.469 kB / 0.9834 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/1.513, allocations: 1.501 MB / 0.9848 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/1.514, allocations: 265.3 kB / 0.9851 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.514, allocations: 15.86 kB / 0.9851 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.515, allocations: 128.2 kB / 0.9852 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/1.515, allocations: 38.52 kB / 0.9853 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.515, allocations: 33.42 kB / 0.9853 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009703/1.516, allocations: 0.611 MB / 0.9859 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.516, allocations: 0 / 0.9859 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00121/1.518, allocations: 263.1 kB / 0.9861 GB, free: 9.523 MB / 0.7325 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.518, allocations: 201.2 kB / 0.9863 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002502/1.521, allocations: 0.841 MB / 0.9871 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.521, allocations: 5.656 kB / 0.9872 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.522, allocations: 419.7 kB / 0.9876 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.526, allocations: 0.5559 MB / 0.9881 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/1.531, allocations: 2.672 MB / 0.9907 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/1.532, allocations: 1.116 MB / 0.9918 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001363/1.534, allocations: 267.9 kB / 0.9921 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.534, allocations: 72.02 kB / 0.9921 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.534, allocations: 4 kB / 0.9921 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.03824/1.572, allocations: 20.5 MB / 1.012 GB, free: 7.086 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: