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.0008271/0.0008269, allocations: 91.84 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.01036/0.01036, allocations: 169.9 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.665/1.665, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.868/1.868, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005462/0.0005464, allocations: 18.66 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2871, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.758/1.045, allocations: 185.7 MB / 0.9692 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01246/1.058, allocations: 5.666 MB / 0.9748 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/1.061, allocations: 35.05 kB / 0.9748 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.063, allocations: 497.6 kB / 0.9753 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007267/1.071, allocations: 1.717 MB / 0.977 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/1.075, allocations: 1.07 MB / 0.978 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007221/1.082, allocations: 4.065 MB / 0.982 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/1.084, allocations: 0.9251 MB / 0.9829 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/1.087, allocations: 0.8598 MB / 0.9837 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/1.091, allocations: 0.9494 MB / 0.9847 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/1.091, allocations: 47.78 kB / 0.9847 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004688/1.096, allocations: 1.63 MB / 0.9863 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001/1.097, allocations: 493.1 kB / 0.9868 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/1.099, allocations: 0.6539 MB / 0.9874 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/1.104, allocations: 2.315 MB / 0.9897 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.104, allocations: 0 / 0.9897 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/1.104, allocations: 0 / 0.9897 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.369e-05/1.104, allocations: 0 / 0.9897 GB, free: 9.609 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.002532/1.106, allocations: 1.351 MB / 0.991 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.107, allocations: 15.28 kB / 0.991 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.108, allocations: 328.4 kB / 0.9913 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.11, allocations: 0.8581 MB / 0.9921 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/1.11, allocations: 74.09 kB / 0.9922 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.11, allocations: 103 kB / 0.9923 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/1.112, allocations: 1.092 MB / 0.9934 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.112, allocations: 0 / 0.9934 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.112, allocations: 46.66 kB / 0.9934 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/1.112, allocations: 42.8 kB / 0.9935 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.114, allocations: 0.9997 MB / 0.9944 GB, free: 6.605 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.006183/1.12, allocations: 4.24 MB / 0.9986 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/1.121, allocations: 0.6073 MB / 0.9992 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/1.122, allocations: 346.4 kB / 0.9995 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/1.122, allocations: 102.8 kB / 0.9996 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.122, allocations: 41.91 kB / 0.9996 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 4.939e-06/1.122, allocations: 6.906 kB / 0.9996 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004795/1.127, allocations: 2.229 MB / 1.002 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.127, allocations: 61.72 kB / 1.002 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.128, allocations: 0.8736 MB / 1.003 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/1.128, allocations: 39.08 kB / 1.003 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/1.128, allocations: 0.5118 MB / 1.003 GB, free: 100 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/1.129, allocations: 199.6 kB / 1.003 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/1.129, allocations: 56.75 kB / 1.004 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.129, allocations: 342.7 kB / 1.004 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/1.129, allocations: 286.1 kB / 1.004 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/1.13, allocations: 456.8 kB / 1.005 GB, free: 15.09 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.003939/1.134, allocations: 1.768 MB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.134, allocations: 0 / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001563/1.136, allocations: 0.9324 MB / 1.007 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.136, allocations: 6.219 kB / 1.007 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.136, allocations: 4.562 kB / 1.007 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/1.136, allocations: 101.6 kB / 1.007 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/1.137, allocations: 172.1 kB / 1.007 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/1.14, allocations: 4.293 MB / 1.012 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.141, allocations: 73.25 kB / 1.012 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/1.141, allocations: 33.7 kB / 1.012 GB, free: 9.195 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 sytem: 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.0006317/1.142, allocations: 340.6 kB / 1.012 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.142, allocations: 104.1 kB / 1.012 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/1.142, allocations: 107.9 kB / 1.012 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.142, allocations: 7.594 kB / 1.012 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.142, allocations: 3.938 kB / 1.012 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/1.143, allocations: 0.7766 MB / 1.013 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/1.146, allocations: 1.995 MB / 1.015 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.146, allocations: 2.938 kB / 1.015 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/1.147, allocations: 157 kB / 1.015 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.482e-05/1.147, allocations: 42.8 kB / 1.015 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/1.147, allocations: 24.8 kB / 1.015 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/1.148, allocations: 1.501 MB / 1.017 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.148, allocations: 3 kB / 1.017 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.15, allocations: 1.241 MB / 1.018 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/1.151, allocations: 255.3 kB / 1.018 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.151, allocations: 20.55 kB / 1.018 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/1.151, allocations: 72.31 kB / 1.018 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.152, allocations: 54.27 kB / 1.018 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/1.152, allocations: 27.08 kB / 1.018 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008132/1.152, allocations: 0.6079 MB / 1.019 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.152, allocations: 4 kB / 1.019 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001388/1.154, allocations: 305.8 kB / 1.019 GB, free: 3.953 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.0005091/1.154, allocations: 195.1 kB / 1.019 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.156, allocations: 1.007 MB / 1.02 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.156, allocations: 2.938 kB / 1.02 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006451/1.157, allocations: 449.7 kB / 1.021 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.16, allocations: 0.6201 MB / 1.021 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/1.164, allocations: 2.589 MB / 1.024 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/1.164, allocations: 1.164 MB / 1.025 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009227/1.165, allocations: 251.3 kB / 1.025 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/1.166, allocations: 74.62 kB / 1.025 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/1.166, allocations: 4 kB / 1.025 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of Templates: time 0.03549/1.201, allocations: 21.23 MB / 1.046 GB, free: 12.88 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: