Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001886/0.001886, allocations: 184 kB / 17.22 MB, free: 5.934 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.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.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.001565/0.001565, allocations: 67.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5851/0.8328, allocations: 190.4 MB / 0.97 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009499/0.8424, allocations: 5.647 MB / 0.9756 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.8444, allocations: 39.75 kB / 0.9756 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.846, allocations: 0.5708 MB / 0.9762 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.8505, allocations: 1.82 MB / 0.9779 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.8533, allocations: 1.171 MB / 0.9791 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.857, allocations: 2.927 MB / 0.9819 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.8586, allocations: 1.117 MB / 0.983 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.8606, allocations: 1.055 MB / 0.9841 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.8625, allocations: 0.9534 MB / 0.985 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.8627, allocations: 124 kB / 0.9851 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.8657, allocations: 1.45 MB / 0.9865 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.8664, allocations: 0.5728 MB / 0.9871 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009625/0.8674, allocations: 0.7234 MB / 0.9878 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.8713, allocations: 2.333 MB / 0.9901 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.8713, allocations: 0 / 0.9901 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8713, allocations: 4 kB / 0.9901 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.8713, allocations: 0 / 0.9901 GB, free: 7.387 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00286/0.8742, allocations: 1.615 MB / 0.9916 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8743, allocations: 8.031 kB / 0.9917 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.8763, allocations: 330.2 kB / 0.992 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.8777, allocations: 0.8629 MB / 0.9928 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.8778, allocations: 74 kB / 0.9929 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.878, allocations: 96 kB / 0.993 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.8798, allocations: 1.096 MB / 0.994 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.8799, allocations: 0 / 0.994 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.88, allocations: 40 kB / 0.9941 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.88, allocations: 38 kB / 0.9941 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.8816, allocations: 0.9915 MB / 0.9951 GB, free: 2.145 MB / 0.7794 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.006078/0.8877, allocations: 4.212 MB / 0.9992 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/0.8886, allocations: 0.5956 MB / 0.9998 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.8891, allocations: 338.5 kB / 1 GB, free: 12.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.8893, allocations: 109.5 kB / 1 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.8894, allocations: 42.94 kB / 1 GB, free: 12.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.8894, allocations: 0 / 1 GB, free: 12.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=55): time 0.004356/0.8937, allocations: 2.195 MB / 1.002 GB, free: 10.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.8938, allocations: 63.91 kB / 1.002 GB, free: 10.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.8951, allocations: 0.8764 MB / 1.003 GB, free: 9.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.8952, allocations: 37.7 kB / 1.003 GB, free: 9.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.8956, allocations: 0.5068 MB / 1.004 GB, free: 8.695 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.8959, allocations: 207.5 kB / 1.004 GB, free: 8.492 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.8961, allocations: 130.6 kB / 1.004 GB, free: 8.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.8963, allocations: 330 kB / 1.004 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.8969, allocations: 285.8 kB / 1.005 GB, free: 7.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.8975, allocations: 454.6 kB / 1.005 GB, free: 7.25 MB / 0.795 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.003906/0.9014, allocations: 1.729 MB / 1.007 GB, free: 5.453 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9014, allocations: 0 / 1.007 GB, free: 5.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001589/0.903, allocations: 0.9301 MB / 1.008 GB, free: 4.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.9031, allocations: 12 kB / 1.008 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9031, allocations: 5.562 kB / 1.008 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.9033, allocations: 98.45 kB / 1.008 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.9041, allocations: 159.8 kB / 1.008 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.9082, allocations: 4.639 MB / 1.013 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.9092, allocations: 26.05 kB / 1.013 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.9094, allocations: 31.98 kB / 1.013 GB, free: 15.12 MB / 0.8106 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006048/0.91, allocations: 349.6 kB / 1.013 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.9102, allocations: 102.8 kB / 1.013 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.9105, allocations: 109.1 kB / 1.013 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9105, allocations: 4 kB / 1.013 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9105, allocations: 0 / 1.013 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.9117, allocations: 0.7575 MB / 1.014 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.9152, allocations: 2 MB / 1.016 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.9152, allocations: 0 / 1.016 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.9159, allocations: 152.8 kB / 1.016 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.916, allocations: 36.83 kB / 1.016 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.9161, allocations: 19.98 kB / 1.016 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.9174, allocations: 1.612 MB / 1.018 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9174, allocations: 4 kB / 1.018 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9193, allocations: 1.23 MB / 1.019 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.9199, allocations: 260.3 kB / 1.019 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.9202, allocations: 12 kB / 1.019 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.921, allocations: 37.36 kB / 1.019 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9212, allocations: 47.89 kB / 1.019 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.9213, allocations: 27.98 kB / 1.019 GB, free: 8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009701/0.9222, allocations: 0.6083 MB / 1.02 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9222, allocations: 1.875 kB / 1.02 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001217/0.9235, allocations: 300 kB / 1.02 GB, free: 7.102 MB / 0.8106 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004626/0.9239, allocations: 201.9 kB / 1.02 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.9255, allocations: 1.009 MB / 1.021 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9255, allocations: 0 / 1.021 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.9262, allocations: 459.9 kB / 1.022 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.9291, allocations: 0.6397 MB / 1.022 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.9327, allocations: 2.085 MB / 1.024 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.9336, allocations: 1.166 MB / 1.026 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.9346, allocations: 256.4 kB / 1.026 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.9348, allocations: 75.44 kB / 1.026 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of SimCode: time 7.32e-07/0.9348, allocations: 0 / 1.026 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.04044/0.9753, allocations: 22.3 MB / 1.048 GB, free: 11.29 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)