Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009197, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 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.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.675/1.675, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005193/0.0005196, allocations: 15.91 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6379/0.8884, allocations: 170.4 MB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.901, allocations: 12.1 MB / 0.9655 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.9023, allocations: 30.94 kB / 0.9655 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.9034, allocations: 294.6 kB / 0.9658 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.9059, allocations: 0.8783 MB / 0.9666 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.9075, allocations: 0.5347 MB / 0.9671 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002702/0.9103, allocations: 2.321 MB / 0.9694 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.9112, allocations: 0.6011 MB / 0.97 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.9146, allocations: 1.355 MB / 0.9713 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.9157, allocations: 0.617 MB / 0.9719 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.9158, allocations: 33 kB / 0.972 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.9175, allocations: 450.5 kB / 0.9724 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005281/0.9181, allocations: 335.8 kB / 0.9727 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.9185, allocations: 199.6 kB / 0.9729 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.92, allocations: 1.032 MB / 0.9739 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.92, allocations: 0 / 0.9739 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.92, allocations: 0 / 0.9739 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.92, allocations: 4 kB / 0.9739 GB, free: 2.656 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001756/0.9218, allocations: 1.058 MB / 0.9749 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9218, allocations: 11.02 kB / 0.9749 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.9229, allocations: 215.5 kB / 0.9752 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.9239, allocations: 0.6156 MB / 0.9758 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.9239, allocations: 56.72 kB / 0.9758 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.924, allocations: 76.12 kB / 0.9759 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.9253, allocations: 0.9288 MB / 0.9768 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.9253, allocations: 3.375 kB / 0.9768 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.9254, allocations: 37.48 kB / 0.9768 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.9254, allocations: 30.09 kB / 0.9769 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.9262, allocations: 0.6127 MB / 0.9775 GB, free: 17.3 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.003641/0.9299, allocations: 4.586 MB / 0.9819 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.9305, allocations: 0.5379 MB / 0.9825 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.9308, allocations: 243 kB / 0.9827 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.931, allocations: 103.1 kB / 0.9828 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.931, allocations: 49.77 kB / 0.9828 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.931, allocations: 4 kB / 0.9828 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002507/0.9335, allocations: 1.568 MB / 0.9844 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.9336, allocations: 108.7 kB / 0.9845 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.9344, allocations: 0.6989 MB / 0.9852 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.9344, allocations: 44.36 kB / 0.9852 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.9347, allocations: 410.4 kB / 0.9856 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.9348, allocations: 167.5 kB / 0.9858 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.9349, allocations: 14.22 kB / 0.9858 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.935, allocations: 386.9 kB / 0.9861 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.9352, allocations: 182.3 kB / 0.9863 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.9356, allocations: 423.6 kB / 0.9867 GB, free: 11.4 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.937, allocations: 0.6632 MB / 0.9874 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.937, allocations: 2.969 kB / 0.9874 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008239/0.9378, allocations: 0.657 MB / 0.988 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9379, allocations: 12.03 kB / 0.988 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9379, allocations: 6.438 kB / 0.988 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.9379, allocations: 7.969 kB / 0.988 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.9383, allocations: 130.7 kB / 0.9882 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9383, allocations: 11.84 kB / 0.9882 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.9389, allocations: 51 kB / 0.9882 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.9389, allocations: 23.03 kB / 0.9882 GB, free: 10.96 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003387/0.9393, allocations: 280.4 kB / 0.9885 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.9394, allocations: 85.81 kB / 0.9886 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.9396, allocations: 92.17 kB / 0.9887 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.9396, allocations: 1.75 kB / 0.9887 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.9396, allocations: 3.344 kB / 0.9887 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006118/0.9402, allocations: 0.6902 MB / 0.9894 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.9422, allocations: 1.634 MB / 0.9909 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.9422, allocations: 7.859 kB / 0.991 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.9426, allocations: 106.4 kB / 0.9911 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.9427, allocations: 7.094 kB / 0.9911 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.9427, allocations: 19.73 kB / 0.9911 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.9427, allocations: 5.312 kB / 0.9911 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9427, allocations: 9.281 kB / 0.9911 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.9437, allocations: 0.8876 MB / 0.992 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.9439, allocations: 211.6 kB / 0.9922 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.944, allocations: 12.59 kB / 0.9922 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.9444, allocations: 44.17 kB / 0.9922 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.9445, allocations: 39.05 kB / 0.9923 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.9446, allocations: 25.39 kB / 0.9923 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005521/0.9451, allocations: 0.4978 MB / 0.9928 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9451, allocations: 3.938 kB / 0.9928 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007031/0.9458, allocations: 203.8 kB / 0.993 GB, free: 8.562 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004354/0.9463, allocations: 195.1 kB / 0.9931 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006801/0.947, allocations: 473.5 kB / 0.9936 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.947, allocations: 0 / 0.9936 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.9472, allocations: 211.4 kB / 0.9938 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.949, allocations: 453.1 kB / 0.9942 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.9512, allocations: 1.998 MB / 0.9962 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.9518, allocations: 1.022 MB / 0.9972 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005807/0.9524, allocations: 201.1 kB / 0.9974 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.9525, allocations: 66.19 kB / 0.9974 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.9525, allocations: 0 / 0.9974 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of Templates: time 0.0216/0.9741, allocations: 13.95 MB / 1.011 GB, free: 15.16 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: