Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009527/0.0009527, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005539/0.0005539, allocations: 14.69 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2684, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.671/0.9394, allocations: 173.1 MB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009394/0.9489, allocations: 5.306 MB / 0.9615 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.9505, allocations: 27.47 kB / 0.9616 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.9519, allocations: 392.8 kB / 0.9619 GB, free: 4.902 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003874/0.9558, allocations: 1.192 MB / 0.9631 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.9589, allocations: 0.8891 MB / 0.964 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005956/0.9649, allocations: 2.914 MB / 0.9668 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.9665, allocations: 0.6947 MB / 0.9675 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.9691, allocations: 0.8383 MB / 0.9683 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.9707, allocations: 0.7726 MB / 0.9691 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.9709, allocations: 40.41 kB / 0.9691 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.9738, allocations: 0.9007 MB / 0.97 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.9744, allocations: 428.5 kB / 0.9704 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.9751, allocations: 248.8 kB / 0.9706 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.9773, allocations: 1.476 MB / 0.9721 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9773, allocations: 0 / 0.9721 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9773, allocations: 0 / 0.9721 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.9773, allocations: 0 / 0.9721 GB, free: 19.34 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002082/0.9794, allocations: 1.257 MB / 0.9733 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9795, allocations: 9 kB / 0.9733 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.9814, allocations: 343.5 kB / 0.9736 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.9827, allocations: 0.7431 MB / 0.9744 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.983, allocations: 136 kB / 0.9745 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.9832, allocations: 90.03 kB / 0.9746 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.9849, allocations: 1.07 MB / 0.9756 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.985, allocations: 3.938 kB / 0.9756 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.9851, allocations: 36.84 kB / 0.9757 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.9851, allocations: 35.56 kB / 0.9757 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.9865, allocations: 0.8385 MB / 0.9765 GB, free: 18.01 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.005009/0.9915, allocations: 4.052 MB / 0.9805 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.9921, allocations: 384.4 kB / 0.9808 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.9923, allocations: 212.4 kB / 0.981 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.9925, allocations: 102.1 kB / 0.9811 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.9926, allocations: 46.38 kB / 0.9812 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.265e-06/0.9926, allocations: 0 / 0.9812 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002411/0.995, allocations: 1.316 MB / 0.9825 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.995, allocations: 60.19 kB / 0.9825 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.9963, allocations: 0.9819 MB / 0.9835 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.9963, allocations: 37.67 kB / 0.9835 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.9966, allocations: 489.6 kB / 0.984 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.9967, allocations: 145.8 kB / 0.9841 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.9968, allocations: 9.094 kB / 0.9841 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9969, allocations: 335.7 kB / 0.9845 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.9973, allocations: 234.6 kB / 0.9847 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.9978, allocations: 421.9 kB / 0.9851 GB, free: 13.18 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.001596/0.9994, allocations: 0.724 MB / 0.9858 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9994, allocations: 0 / 0.9858 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001244/1.001, allocations: 0.746 MB / 0.9865 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.001, allocations: 11.56 kB / 0.9865 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.001, allocations: 6.5 kB / 0.9865 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.001, allocations: 11.81 kB / 0.9865 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/1.001, allocations: 143.8 kB / 0.9867 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/1.001, allocations: 8.406 kB / 0.9867 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.002, allocations: 104.8 kB / 0.9868 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/1.002, allocations: 24.5 kB / 0.9868 GB, free: 12.68 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: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005199/1.003, allocations: 320.2 kB / 0.9871 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.003, allocations: 96.84 kB / 0.9872 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/1.003, allocations: 101 kB / 0.9873 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.003, allocations: 2.875 kB / 0.9873 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.003, allocations: 0 / 0.9873 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006302/1.004, allocations: 0.6719 MB / 0.988 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/1.007, allocations: 1.589 MB / 0.9895 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.007, allocations: 4.625 kB / 0.9895 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/1.007, allocations: 89.48 kB / 0.9896 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.007, allocations: 5.094 kB / 0.9896 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/1.007, allocations: 12.78 kB / 0.9896 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.007, allocations: 12.88 kB / 0.9896 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.007, allocations: 2.938 kB / 0.9896 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.008, allocations: 0.8511 MB / 0.9905 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/1.009, allocations: 234.1 kB / 0.9907 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/1.009, allocations: 17.08 kB / 0.9907 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/1.01, allocations: 63.34 kB / 0.9908 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/1.01, allocations: 33.72 kB / 0.9908 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/1.01, allocations: 34.31 kB / 0.9908 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001154/1.012, allocations: 0.6953 MB / 0.9915 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.012, allocations: 0 / 0.9915 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001182/1.013, allocations: 256.6 kB / 0.9918 GB, free: 10.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005983/1.013, allocations: 206.1 kB / 0.992 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.014, allocations: 496.7 kB / 0.9924 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.014, allocations: 2.344 kB / 0.9924 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/1.015, allocations: 187.4 kB / 0.9926 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.017, allocations: 0.5902 MB / 0.9932 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/1.021, allocations: 2.152 MB / 0.9953 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.021, allocations: 1.104 MB / 0.9964 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009526/1.022, allocations: 240 kB / 0.9966 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/1.022, allocations: 75.77 kB / 0.9967 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.022, allocations: 0 / 0.9967 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.03179/1.054, allocations: 18.35 MB / 1.015 GB, free: 14.51 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: