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.001525/0.001525, allocations: 103.8 kB / 16.27 MB, free: 6.398 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.001566/0.001566, allocations: 191.3 kB / 17.2 MB, free: 5.969 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.398/1.398, 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.756/1.756, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001437/0.001437, allocations: 68.23 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.639/0.8967, allocations: 190.4 MB / 0.97 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009771/0.9066, allocations: 5.653 MB / 0.9755 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.9083, allocations: 35.81 kB / 0.9756 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.9104, allocations: 0.5669 MB / 0.9761 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.9158, allocations: 1.824 MB / 0.9779 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.9193, allocations: 1.16 MB / 0.979 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.9239, allocations: 2.917 MB / 0.9819 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.926, allocations: 1.122 MB / 0.983 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.9286, allocations: 1.055 MB / 0.984 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.9312, allocations: 0.954 MB / 0.9849 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.9317, allocations: 124 kB / 0.985 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.9353, allocations: 1.443 MB / 0.9865 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.9361, allocations: 0.5689 MB / 0.987 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.9373, allocations: 0.7234 MB / 0.9877 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.941, allocations: 2.314 MB / 0.99 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.9411, allocations: 0 / 0.99 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9411, allocations: 0 / 0.99 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.9411, allocations: 0 / 0.99 GB, free: 7.543 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.002773/0.9439, allocations: 1.611 MB / 0.9915 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.9439, allocations: 12.03 kB / 0.9916 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.9459, allocations: 326.2 kB / 0.9919 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.9473, allocations: 0.8629 MB / 0.9927 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.9474, allocations: 78 kB / 0.9928 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.9476, allocations: 100 kB / 0.9929 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.9494, allocations: 1.085 MB / 0.9939 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.9494, allocations: 0 / 0.9939 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.9495, allocations: 43.75 kB / 0.994 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.9496, allocations: 45.98 kB / 0.994 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.9512, allocations: 0.9837 MB / 0.995 GB, free: 2.309 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.006124/0.9573, allocations: 4.258 MB / 0.9991 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.9582, allocations: 0.5939 MB / 0.9997 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.9587, allocations: 342.5 kB / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.9589, allocations: 101.5 kB / 1 GB, free: 12.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.9589, allocations: 43 kB / 1 GB, free: 12.65 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.959, allocations: 0 / 1 GB, free: 12.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=55): time 0.004096/0.9631, allocations: 2.199 MB / 1.002 GB, free: 10.33 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.9631, allocations: 63.91 kB / 1.002 GB, free: 10.26 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.9642, allocations: 0.8764 MB / 1.003 GB, free: 9.375 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.9643, allocations: 45.64 kB / 1.003 GB, free: 9.324 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.9647, allocations: 0.5145 MB / 1.004 GB, free: 8.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.9649, allocations: 201.1 kB / 1.004 GB, free: 8.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.9651, allocations: 126.6 kB / 1.004 GB, free: 8.473 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9652, allocations: 337.9 kB / 1.004 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.9657, allocations: 281.8 kB / 1.005 GB, free: 7.863 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.9663, allocations: 450.6 kB / 1.005 GB, free: 7.363 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.003815/0.9701, allocations: 1.733 MB / 1.007 GB, free: 5.562 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.9701, allocations: 4 kB / 1.007 GB, free: 5.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001691/0.9718, allocations: 0.9179 MB / 1.008 GB, free: 4.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.9719, allocations: 9.25 kB / 1.008 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9719, allocations: 4 kB / 1.008 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.9721, allocations: 114.9 kB / 1.008 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.9729, allocations: 159.8 kB / 1.008 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.9767, allocations: 4.63 MB / 1.013 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.9778, allocations: 40.09 kB / 1.013 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.9779, allocations: 28 kB / 1.013 GB, free: 15.22 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.0006778/0.9786, allocations: 341.5 kB / 1.013 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.9789, allocations: 98.78 kB / 1.013 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.9791, allocations: 109.1 kB / 1.013 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9791, allocations: 8 kB / 1.013 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9792, allocations: 0 / 1.013 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.9803, allocations: 0.7652 MB / 1.014 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.9839, allocations: 1.985 MB / 1.016 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9839, allocations: 8.031 kB / 1.016 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.9846, allocations: 156.5 kB / 1.016 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.9847, allocations: 32.84 kB / 1.016 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.9848, allocations: 19.98 kB / 1.016 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.9861, allocations: 1.613 MB / 1.018 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9862, allocations: 4 kB / 1.018 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.9881, allocations: 1.226 MB / 1.019 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.9887, allocations: 263.8 kB / 1.019 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.9889, allocations: 19.94 kB / 1.019 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.9898, allocations: 35.09 kB / 1.019 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.9899, allocations: 49.52 kB / 1.019 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.99, allocations: 31.97 kB / 1.019 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009493/0.9909, allocations: 0.6122 MB / 1.02 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9909, allocations: 0 / 1.02 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001219/0.9922, allocations: 304 kB / 1.02 GB, free: 7.195 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.0005399/0.9927, allocations: 194.4 kB / 1.02 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.9947, allocations: 1.107 MB / 1.021 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.9948, allocations: 4.312 kB / 1.021 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.9955, allocations: 450.7 kB / 1.022 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.999, allocations: 0.6389 MB / 1.022 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/1.003, allocations: 2.186 MB / 1.025 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.004, allocations: 1.163 MB / 1.026 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.005, allocations: 83.42 kB / 1.026 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of SimCode: time 3.497e-06/1.005, allocations: 0 / 1.026 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of Templates: time 0.03761/1.042, allocations: 26.81 MB / 1.052 GB, free: 6.738 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)