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.001134/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001452/0.001452, allocations: 193.5 kB / 16.25 MB, free: 6.617 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.642/1.642, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.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.714/1.714, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00138/0.00138, allocations: 65.92 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 114.6 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7309/1.027, allocations: 188 MB / 0.9664 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009398/1.037, allocations: 5.615 MB / 0.9719 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/1.039, allocations: 35.17 kB / 0.9719 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/1.041, allocations: 0.5042 MB / 0.9724 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/1.046, allocations: 1.705 MB / 0.9741 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/1.05, allocations: 1.083 MB / 0.9751 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005961/1.056, allocations: 2.919 MB / 0.978 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/1.058, allocations: 1.094 MB / 0.9791 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/1.062, allocations: 1.057 MB / 0.9801 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/1.066, allocations: 1.031 MB / 0.9811 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000554/1.067, allocations: 123.9 kB / 0.9812 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/1.073, allocations: 1.512 MB / 0.9827 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009647/1.074, allocations: 0.5705 MB / 0.9833 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/1.075, allocations: 0.7228 MB / 0.984 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005716/1.081, allocations: 2.407 MB / 0.9863 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/1.081, allocations: 0 / 0.9863 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.727e-06/1.081, allocations: 0 / 0.9863 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.915e-05/1.081, allocations: 3.938 kB / 0.9863 GB, free: 4.477 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003615/1.085, allocations: 1.628 MB / 0.9879 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.085, allocations: 10 kB / 0.9879 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.087, allocations: 319.9 kB / 0.9882 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/1.088, allocations: 0.8565 MB / 0.9891 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/1.088, allocations: 76.38 kB / 0.9891 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/1.089, allocations: 99.8 kB / 0.9892 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.091, allocations: 1.095 MB / 0.9903 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/1.091, allocations: 3.906 kB / 0.9903 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.091, allocations: 43.22 kB / 0.9903 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/1.091, allocations: 35.88 kB / 0.9904 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/1.092, allocations: 0.9907 MB / 0.9913 GB, free: 18.55 MB / 0.7481 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.006168/1.098, allocations: 4.232 MB / 0.9955 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/1.099, allocations: 0.5964 MB / 0.9961 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/1.1, allocations: 344.4 kB / 0.9964 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/1.1, allocations: 101.9 kB / 0.9965 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.1, allocations: 46.09 kB / 0.9965 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 3.005e-06/1.1, allocations: 4 kB / 0.9965 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.004142/1.104, allocations: 2.192 MB / 0.9987 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.104, allocations: 64.47 kB / 0.9987 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.106, allocations: 0.8736 MB / 0.9996 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/1.106, allocations: 38.98 kB / 0.9996 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/1.106, allocations: 0.5194 MB / 1 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/1.106, allocations: 195.6 kB / 1 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.106, allocations: 130.8 kB / 1 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.107, allocations: 330.8 kB / 1.001 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/1.107, allocations: 284.3 kB / 1.001 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/1.108, allocations: 450.2 kB / 1.001 GB, free: 12.43 MB / 0.7481 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.003837/1.112, allocations: 1.74 MB / 1.003 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.112, allocations: 2.781 kB / 1.003 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001408/1.113, allocations: 0.9218 MB / 1.004 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.113, allocations: 8.969 kB / 1.004 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.113, allocations: 5.156 kB / 1.004 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/1.113, allocations: 107.6 kB / 1.004 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.114, allocations: 165 kB / 1.004 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/1.118, allocations: 4.628 MB / 1.009 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.119, allocations: 69.41 kB / 1.009 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/1.119, allocations: 27.78 kB / 1.009 GB, free: 6.879 MB / 0.7481 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.0006638/1.12, allocations: 349.2 kB / 1.009 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/1.12, allocations: 101.8 kB / 1.009 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/1.12, allocations: 112.8 kB / 1.009 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.12, allocations: 6.062 kB / 1.009 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/1.12, allocations: 4 kB / 1.009 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/1.121, allocations: 0.7592 MB / 1.01 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/1.124, allocations: 1.995 MB / 1.012 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.124, allocations: 3.156 kB / 1.012 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/1.125, allocations: 151.9 kB / 1.012 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/1.125, allocations: 39.64 kB / 1.012 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/1.125, allocations: 15.09 kB / 1.012 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.127, allocations: 1.613 MB / 1.014 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.127, allocations: 5 kB / 1.014 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/1.128, allocations: 1.226 MB / 1.015 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/1.129, allocations: 256.4 kB / 1.015 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.129, allocations: 10.84 kB / 1.015 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/1.13, allocations: 79.7 kB / 1.015 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.13, allocations: 43.98 kB / 1.016 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/1.13, allocations: 32.33 kB / 1.016 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008962/1.131, allocations: 0.6077 MB / 1.016 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.183e-06/1.131, allocations: 0 / 1.016 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001142/1.132, allocations: 309.7 kB / 1.016 GB, free: 2.254 MB / 0.7481 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.0005336/1.133, allocations: 190.8 kB / 1.017 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.135, allocations: 1.121 MB / 1.018 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.135, allocations: 2.406 kB / 1.018 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/1.136, allocations: 446.8 kB / 1.018 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/1.139, allocations: 0.6429 MB / 1.019 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/1.143, allocations: 2.515 MB / 1.021 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.144, allocations: 1.172 MB / 1.022 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001353/1.145, allocations: 244.8 kB / 1.023 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.146, allocations: 75.77 kB / 1.023 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of SimCode: time 1.493e-06/1.146, allocations: 4 kB / 1.023 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of Templates: time 0.03999/1.186, allocations: 22.11 MB / 1.044 GB, free: 13.68 MB / 0.7794 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)